Herbstluftwm: Fix zsh completion.
Files where installed in the wrong directory. This commit also replaces sed with substituteInPlace.
This commit is contained in:
parent
83fe2a4bfa
commit
3e03b921a1
@ -9,9 +9,10 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
sed -i -e "s:/usr/local:$\{out}:" \
|
substituteInPlace config.mk \
|
||||||
-e "s:/etc:$\{out}/etc:" \
|
--replace "/usr/local" "$out" \
|
||||||
config.mk
|
--replace "/etc" "$out/etc" \
|
||||||
|
--replace "/zsh/functions/Completion/X" "/zsh/site-functions"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ pkgconfig glib libX11 libXext libXinerama ];
|
buildInputs = [ pkgconfig glib libX11 libXext libXinerama ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user