sane-scripts: lift sane-dev-cargo-loop out of resholve

This commit is contained in:
Colin 2023-06-06 08:07:42 +00:00
parent 162f3a291c
commit e5fe7c093a
2 changed files with 7 additions and 3 deletions

View File

@ -35,10 +35,8 @@ let
gocryptfs gocryptfs
ifuse ifuse
inetutils inetutils
inotify-tools
iwd iwd
jq jq
ncurses
oath-toolkit oath-toolkit
openssh openssh
openssl openssl
@ -145,6 +143,11 @@ let
src = ./src; src = ./src;
pkgs = [ "coreutils-full" ]; pkgs = [ "coreutils-full" ];
}; };
dev-cargo-loop = static-nix-shell.mkBash {
pname = "sane-dev-cargo-loop";
src = ./src;
pkgs = [ "inotify-tools" "ncurses" ];
};
ip-check-upnp = static-nix-shell.mkPython3Bin { ip-check-upnp = static-nix-shell.mkPython3Bin {
pname = "sane-ip-check-upnp"; pname = "sane-ip-check-upnp";
src = ./src; src = ./src;

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env nix-shell
#!nix-shell -i bash -p inotify-tools -p ncurses
# watches PWD for any changes underneath it and re-runs `cargo build --a> # watches PWD for any changes underneath it and re-runs `cargo build --a>
# optionally, provide your own build command as the first argument # optionally, provide your own build command as the first argument