git.iko.soy/typeable/nixpkgs
on master help sign in
Herbstluftwm: Fix zsh completion.

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

commit3e03b921a10b4ee8a5118c71dd0518efd4f879b4 authorMoritz Ulrich <moritz@tarn-vedra.de> dateThu 10 Sep 2015, 19:44 (11 years ago) parent83fe2a4
1 file changed+4−3
pkgs/applications/window-managers/herbstluftwm/default.nix+4−3
pkgs/applications/window-managers/herbstluftwm/default.nix+4−3
@@ -9,9 +9,10 @@ stdenv.mkDerivation rec {
99 };
1010
1111 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"
1516 '';
1617
1718 buildInputs = [ pkgconfig glib libX11 libXext libXinerama ];