sane-scripts: port sane-rcp to nix-shell

This commit is contained in:
Colin 2023-06-07 06:57:07 +00:00
parent 14ae501433
commit 04f7287781
2 changed files with 7 additions and 1 deletions

View File

@ -219,6 +219,11 @@ let
src = ./src;
pkgs = [ "gocryptfs" ];
};
rcp = static-nix-shell.mkBash {
pname = "sane-rcp";
src = ./src;
pkgs = [ "rsync" ];
};
reclaim-boot-space = static-nix-shell.mkPython3Bin {
pname = "sane-reclaim-boot-space";
src = ./src;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env sh
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p rsync
# rsync, with sane defaults
# + verbosity
# + default to cwd as destination if none is provided