diff options
author | Julien Langlois <yourstruly@julienlanglois.me> | 2020-01-05 16:22:33 -0500 |
---|---|---|
committer | Julien Langlois <yourstruly@julienlanglois.me> | 2020-01-05 17:52:31 -0500 |
commit | 0dd0d03c32fb42fc54f6364f33985429efddeeeb (patch) | |
tree | ff1bea3c383470678b88878e4e774aefb9449f91 /pkgs/tools/misc/profile-sync-daemon | |
parent | 0b56c6c7c00ee61296acb0757dda19736dc11d4d (diff) |
profile-sync-daemon: fix psd-overlay-helper paths
The installPhase for profile-sync-daemon does not properly replace all binary invocations in psd-overlay-help. This fixes it.
Diffstat (limited to 'pkgs/tools/misc/profile-sync-daemon')
-rw-r--r-- | pkgs/tools/misc/profile-sync-daemon/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/tools/misc/profile-sync-daemon/default.nix b/pkgs/tools/misc/profile-sync-daemon/default.nix index c1496e0dbc9eb..d96feed730167 100644 --- a/pkgs/tools/misc/profile-sync-daemon/default.nix +++ b/pkgs/tools/misc/profile-sync-daemon/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, utillinux}: +{ stdenv, fetchurl, utillinux, coreutils}: stdenv.mkDerivation rec { version = "6.35"; @@ -17,7 +17,8 @@ stdenv.mkDerivation rec { # $HOME detection fails (and is unnecessary) sed -i '/^HOME/d' $out/bin/profile-sync-daemon substituteInPlace $out/bin/psd-overlay-helper \ - --replace "PATH=/usr/bin:/bin" "PATH=${utillinux.bin}/bin" + --replace "PATH=/usr/bin:/bin" "PATH=${utillinux.bin}/bin:${coreutils}/bin" \ + --replace "sudo " "/run/wrappers/bin/sudo " ''; preferLocalBuild = true; |