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.
This commit is contained in:
parent
0b56c6c7c0
commit
0dd0d03c32
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, utillinux}:
|
{ stdenv, fetchurl, utillinux, coreutils}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "6.35";
|
version = "6.35";
|
||||||
|
@ -17,7 +17,8 @@ stdenv.mkDerivation rec {
|
||||||
# $HOME detection fails (and is unnecessary)
|
# $HOME detection fails (and is unnecessary)
|
||||||
sed -i '/^HOME/d' $out/bin/profile-sync-daemon
|
sed -i '/^HOME/d' $out/bin/profile-sync-daemon
|
||||||
substituteInPlace $out/bin/psd-overlay-helper \
|
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;
|
preferLocalBuild = true;
|
||||||
|
|
Loading…
Reference in a new issue