mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 19:03:28 +00:00
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 = ''
|
||||
sed -i -e "s:/usr/local:$\{out}:" \
|
||||
-e "s:/etc:$\{out}/etc:" \
|
||||
config.mk
|
||||
substituteInPlace config.mk \
|
||||
--replace "/usr/local" "$out" \
|
||||
--replace "/etc" "$out/etc" \
|
||||
--replace "/zsh/functions/Completion/X" "/zsh/site-functions"
|
||||
'';
|
||||
|
||||
buildInputs = [ pkgconfig glib libX11 libXext libXinerama ];
|
||||
|
Loading…
Reference in New Issue
Block a user