summaryrefslogtreecommitdiff
path: root/nix/rebuild-system.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-02-20 22:39:40 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2017-02-20 22:39:40 +0100
commit8b11946e67c5aee3e3dff1fc1b8754249b4677ca (patch)
tree084fd6b89363b43caad3980808f31acaf28a5923 /nix/rebuild-system.nix
parent6b443335b97cc2d6479595313e5a19d2f49c6b7a (diff)
downloadutils-8b11946e67c5aee3e3dff1fc1b8754249b4677ca.tar
utils-8b11946e67c5aee3e3dff1fc1b8754249b4677ca.tar.gz
utils-8b11946e67c5aee3e3dff1fc1b8754249b4677ca.tar.bz2
utils-8b11946e67c5aee3e3dff1fc1b8754249b4677ca.tar.xz
utils-8b11946e67c5aee3e3dff1fc1b8754249b4677ca.zip
Rely on env to set path to sudo
Diffstat (limited to 'nix/rebuild-system.nix')
-rw-r--r--nix/rebuild-system.nix1
1 files changed, 0 insertions, 1 deletions
diff --git a/nix/rebuild-system.nix b/nix/rebuild-system.nix
index 5c65e88..ea19a6b 100644
--- a/nix/rebuild-system.nix
+++ b/nix/rebuild-system.nix
@@ -16,7 +16,6 @@ stdenv.mkDerivation rec {
16 cp $src $out/bin/rebuild-system 16 cp $src $out/bin/rebuild-system
17 chmod +x $out/bin/rebuild-system 17 chmod +x $out/bin/rebuild-system
18 wrapProgram $out/bin/rebuild-system \ 18 wrapProgram $out/bin/rebuild-system \
19 --prefix PATH : /var/setuid-wrappers \
20 --prefix PATH : ${git}/bin 19 --prefix PATH : ${git}/bin
21 ''; 20 '';
22} 21}