Compare commits
No commits in common. "d4c94a5a3a5565a755747f971f2a7130bf902e5e" and "d00d49135adeb3b6040d2bb42494850f32a542e1" have entirely different histories.
d4c94a5a3a
...
d00d49135a
27
default.nix
27
default.nix
@ -1,27 +0,0 @@
|
|||||||
let
|
|
||||||
pkgs = import <nixpkgs> {
|
|
||||||
overlays = [
|
|
||||||
(import (builtins.fetchTarball
|
|
||||||
"https://github.com/oxalica/rust-overlay/archive/master.tar.gz"))
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
rust = pkgs.rust-bin.stable.latest.rust.override {
|
|
||||||
extensions = [ "rust-src" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
in with pkgs;
|
|
||||||
pkgs.mkShell rec {
|
|
||||||
name = "rust";
|
|
||||||
buildInputs = [
|
|
||||||
openssl
|
|
||||||
pkg-config
|
|
||||||
cargo
|
|
||||||
rust
|
|
||||||
rustfmt
|
|
||||||
rust-analyzer
|
|
||||||
wasm-pack
|
|
||||||
wasm-bindgen-cli
|
|
||||||
nodePackages.rollup
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@ -18,7 +18,7 @@ use superdeduper::CompactMetadata;
|
|||||||
use superdeduper::MovieLibrary;
|
use superdeduper::MovieLibrary;
|
||||||
|
|
||||||
const MOVIE_DIR: &str = "/home/wathiede/Movies";
|
const MOVIE_DIR: &str = "/home/wathiede/Movies";
|
||||||
const TO_BE_REMOVED_DIR: &str = "/home/wathiede/to-be-deleted/";
|
const TO_BE_REMOVED_DIR: &str = "/storage/media/to-be-deleted/";
|
||||||
|
|
||||||
lazy_static! {
|
lazy_static! {
|
||||||
static ref CLEAN_TITLE_CHARS: Regex = Regex::new("[^ 0-9[:alpha:]]").unwrap();
|
static ref CLEAN_TITLE_CHARS: Regex = Regex::new("[^ 0-9[:alpha:]]").unwrap();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user