1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00

profile-sync-daemon: 6.40 -> 6.42

This commit is contained in:
R. RyanTM 2020-11-04 05:30:02 +00:00 committed by Frederik Rietdijk
parent 7733a2c84c
commit 05a2e9df78

View file

@ -1,12 +1,12 @@
{ stdenv, fetchurl, utillinux, coreutils}:
stdenv.mkDerivation rec {
version = "6.40";
version = "6.42";
pname = "profile-sync-daemon";
src = fetchurl {
url = "https://github.com/graysky2/profile-sync-daemon/archive/v${version}.tar.gz";
sha256 = "1z1n7dqbkk0x9w2pq71nf93wp4hrzin4a0hcvfynj1khf12z369h";
sha256 = "1x47ydrwawkic5cgzp0ikd99g1hbpzc2aalq9z630vm13yw2adnp";
};
installPhase = ''
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
sed -i '/^HOME/d' $out/bin/profile-sync-daemon
substituteInPlace $out/bin/psd-overlay-helper \
--replace "PATH=/usr/bin:/bin" "PATH=${utillinux.bin}/bin:${coreutils}/bin" \
--replace "sudo " "/run/wrappers/bin/sudo "
--replace "sudo " "/run/wrappers/bin/sudo "
'';
preferLocalBuild = true;