diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-07-16 20:11:59 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-07-16 20:11:59 +0200 |
commit | 573496399a73e127f92d65d88f0f943b78387d4d (patch) | |
tree | c514915bd81adf73ff15ef83a15957449a88e4b6 /nix/rebuild-system.nix | |
parent | fa8ffecc5e423ad7f31725568e1b03a5ac7dbc4c (diff) | |
download | utils-573496399a73e127f92d65d88f0f943b78387d4d.tar utils-573496399a73e127f92d65d88f0f943b78387d4d.tar.gz utils-573496399a73e127f92d65d88f0f943b78387d4d.tar.bz2 utils-573496399a73e127f92d65d88f0f943b78387d4d.tar.xz utils-573496399a73e127f92d65d88f0f943b78387d4d.zip |
sudo needs to be wrapped…
Diffstat (limited to 'nix/rebuild-system.nix')
-rw-r--r-- | nix/rebuild-system.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nix/rebuild-system.nix b/nix/rebuild-system.nix index 4a8c3e0..f03a2e2 100644 --- a/nix/rebuild-system.nix +++ b/nix/rebuild-system.nix | |||
@@ -22,6 +22,7 @@ stdenv.mkDerivation rec { | |||
22 | cp $src/rebuild-system $out/bin/ | 22 | cp $src/rebuild-system $out/bin/ |
23 | chmod +x $out/bin/rebuild-system | 23 | chmod +x $out/bin/rebuild-system |
24 | wrapProgram $out/bin/rebuild-system \ | 24 | wrapProgram $out/bin/rebuild-system \ |
25 | --prefix PATH : /var/setuid-wrappers \ | ||
25 | --prefix PATH : ${sudo}/bin \ | 26 | --prefix PATH : ${sudo}/bin \ |
26 | --prefix PATH : ${git}/bin | 27 | --prefix PATH : ${git}/bin |
27 | ''; | 28 | ''; |