Compare commits

...

2 Commits

3 changed files with 29 additions and 1 deletions

1
.envrc Normal file
View File

@ -0,0 +1 @@
use_nix

27
default.nix Normal file
View File

@ -0,0 +1,27 @@
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
];
}

View File

@ -18,7 +18,7 @@ use superdeduper::CompactMetadata;
use superdeduper::MovieLibrary;
const MOVIE_DIR: &str = "/home/wathiede/Movies";
const TO_BE_REMOVED_DIR: &str = "/storage/media/to-be-deleted/";
const TO_BE_REMOVED_DIR: &str = "/home/wathiede/to-be-deleted/";
lazy_static! {
static ref CLEAN_TITLE_CHARS: Regex = Regex::new("[^ 0-9[:alpha:]]").unwrap();