Herbstluftwm: Fix zsh completion.

Files where installed in the wrong directory. This commit also replaces
sed with substituteInPlace.

+4 -3
+4 -3
pkgs/applications/window-managers/herbstluftwm/default.nix
··· 9 9 }; 10 10 11 11 patchPhase = '' 12 - sed -i -e "s:/usr/local:$\{out}:" \ 13 - -e "s:/etc:$\{out}/etc:" \ 14 - config.mk 12 + substituteInPlace config.mk \ 13 + --replace "/usr/local" "$out" \ 14 + --replace "/etc" "$out/etc" \ 15 + --replace "/zsh/functions/Completion/X" "/zsh/site-functions" 15 16 ''; 16 17 17 18 buildInputs = [ pkgconfig glib libX11 libXext libXinerama ];