i3lock-pixeled: use substituteInPlace
This commit is contained in:
parent
1e317150ef
commit
1deb1a30c8
@ -22,11 +22,11 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
# patch paths
|
substituteInPlace i3lock-pixeled \
|
||||||
sed -i -e "s#i3lock#${pkgs.i3lock}/bin/i3lock#" i3lock-pixeled
|
--replace i3lock "${pkgs.i3lock}/bin/i3lock" \
|
||||||
sed -i -e "s#convert#${pkgs.imagemagick}/bin/convert#" i3lock-pixeled
|
--replace convert "${pkgs.imagemagick}/bin/convert" \
|
||||||
sed -i -e "s#scrot#${pkgs.scrot}/bin/scrot#" i3lock-pixeled
|
--replace scrot "${pkgs.scrot}/bin/scrot" \
|
||||||
sed -i -e "s#playerctl#${pkgs.playerctl}/bin/playerctl#" i3lock-pixeled
|
--replace playerctl "${pkgs.playerctl}/bin/playerctl#"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user