sane-scripts: port sane-reboot to nix-shell
This commit is contained in:
parent
04f7287781
commit
9942025a2f
|
@ -224,6 +224,11 @@ let
|
|||
src = ./src;
|
||||
pkgs = [ "rsync" ];
|
||||
};
|
||||
reboot = static-nix-shell.mkBash {
|
||||
pname = "sane-reboot";
|
||||
src = ./src;
|
||||
pkgs = [ "systemd" ];
|
||||
};
|
||||
reclaim-boot-space = static-nix-shell.mkPython3Bin {
|
||||
pname = "sane-reclaim-boot-space";
|
||||
src = ./src;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p systemd
|
||||
|
||||
target="$1"
|
||||
host="$(hostname)"
|
||||
|
|
Loading…
Reference in New Issue
Block a user