aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/tools/misc/profile-sync-daemon/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/tools/misc/profile-sync-daemon/default.nix')
-rw-r--r--nixpkgs/pkgs/tools/misc/profile-sync-daemon/default.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/nixpkgs/pkgs/tools/misc/profile-sync-daemon/default.nix b/nixpkgs/pkgs/tools/misc/profile-sync-daemon/default.nix
index ae70a82de4f..790bf73a44d 100644
--- a/nixpkgs/pkgs/tools/misc/profile-sync-daemon/default.nix
+++ b/nixpkgs/pkgs/tools/misc/profile-sync-daemon/default.nix
@@ -1,12 +1,12 @@
-{ stdenv, fetchurl, utillinux}:
+{ stdenv, fetchurl, utillinux, coreutils}:
stdenv.mkDerivation rec {
- version = "6.36";
+ version = "6.38";
pname = "profile-sync-daemon";
src = fetchurl {
url = "https://github.com/graysky2/profile-sync-daemon/archive/v${version}.tar.gz";
- sha256 = "0zw9fqpfiz1ld443cw2vp54y86maksmq4mnjs73nlp00nn5z2047";
+ sha256 = "0mhjgd2b3grdaad64b72m8i5rm9k58yx7kpiqmhmd3kl5qlgxagy";
};
installPhase = ''
@@ -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;