1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 08:31:59 +00:00

i3lock-fancy: Fix wrong path to mktemp

mktemp was not correctly replaced in this package. Leading to
"command not found: mktemp" error.
This commit is contained in:
Reno Reckling 2020-03-21 15:27:52 +01:00
parent e7d2655efb
commit 55fb13e5e1

View file

@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
sha256 = "00lqsvz1knb8iqy8lnkn3sf4c2c4nzb0smky63qf48m8za5aw9b1"; sha256 = "00lqsvz1knb8iqy8lnkn3sf4c2c4nzb0smky63qf48m8za5aw9b1";
}; };
patchPhase = '' patchPhase = ''
sed -i -e "s|(mktemp)|(${coreutils}/bin/mktemp)|" i3lock-fancy sed -i -e "s|(mktemp|(${coreutils}/bin/mktemp|" i3lock-fancy
sed -i -e "s|'rm -f |'${coreutils}/bin/rm -f |" i3lock-fancy sed -i -e "s|'rm -f |'${coreutils}/bin/rm -f |" i3lock-fancy
sed -i -e "s|scrot -z |${scrot}/bin/scrot -z |" i3lock-fancy sed -i -e "s|scrot -z |${scrot}/bin/scrot -z |" i3lock-fancy
sed -i -e "s|convert |${imagemagick.out}/bin/convert |" i3lock-fancy sed -i -e "s|convert |${imagemagick.out}/bin/convert |" i3lock-fancy