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
1 changed files with 4 additions and 3 deletions
|
@ -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 a new issue