mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +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:
parent
e7d2655efb
commit
55fb13e5e1
|
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "00lqsvz1knb8iqy8lnkn3sf4c2c4nzb0smky63qf48m8za5aw9b1";
|
||||
};
|
||||
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|scrot -z |${scrot}/bin/scrot -z |" i3lock-fancy
|
||||
sed -i -e "s|convert |${imagemagick.out}/bin/convert |" i3lock-fancy
|
||||
|
|
Loading…
Reference in a new issue