sane-scripts: port sane-shutdown to nix-shell
This commit is contained in:
parent
c8d5411462
commit
6bbb5669a6
|
@ -251,6 +251,11 @@ let
|
|||
src = ./src;
|
||||
pkgs = [ "coreutils-full" "findutils" "sops" ];
|
||||
};
|
||||
shutdown = static-nix-shell.mkBash {
|
||||
pname = "sane-shutdown";
|
||||
src = ./src;
|
||||
pkgs = [ "inetutils" "systemd" ];
|
||||
};
|
||||
};
|
||||
in
|
||||
symlinkJoin {
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p inetutils -p systemd
|
||||
|
||||
target="$1"
|
||||
host="$(hostname)"
|
||||
|
|
Loading…
Reference in New Issue
Block a user