sane-scripts: port sane-rcp to nix-shell
This commit is contained in:
parent
14ae501433
commit
04f7287781
|
@ -219,6 +219,11 @@ let
|
||||||
src = ./src;
|
src = ./src;
|
||||||
pkgs = [ "gocryptfs" ];
|
pkgs = [ "gocryptfs" ];
|
||||||
};
|
};
|
||||||
|
rcp = static-nix-shell.mkBash {
|
||||||
|
pname = "sane-rcp";
|
||||||
|
src = ./src;
|
||||||
|
pkgs = [ "rsync" ];
|
||||||
|
};
|
||||||
reclaim-boot-space = static-nix-shell.mkPython3Bin {
|
reclaim-boot-space = static-nix-shell.mkPython3Bin {
|
||||||
pname = "sane-reclaim-boot-space";
|
pname = "sane-reclaim-boot-space";
|
||||||
src = ./src;
|
src = ./src;
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env nix-shell
|
||||||
|
#!nix-shell -i bash -p rsync
|
||||||
# rsync, with sane defaults
|
# rsync, with sane defaults
|
||||||
# + verbosity
|
# + verbosity
|
||||||
# + default to cwd as destination if none is provided
|
# + default to cwd as destination if none is provided
|
||||||
|
|
Loading…
Reference in New Issue
Block a user