Merge pull request #76998 from jflanglois/fix-psd-overlay-helper
profile-sync-daemon: fix psd-overlay-helper paths
This commit is contained in:
commit
ea9b5c5faa
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, utillinux}:
|
||||
{ stdenv, fetchurl, utillinux, coreutils}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "6.36";
|
||||
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user