diff options
author | Moritz Ulrich <moritz@tarn-vedra.de> | 2015-09-10 19:44:17 +0200 |
---|---|---|
committer | Moritz Ulrich <moritz@tarn-vedra.de> | 2015-09-10 19:44:17 +0200 |
commit | 3e03b921a10b4ee8a5118c71dd0518efd4f879b4 (patch) | |
tree | 577d98867f59746516692ecd451980384f7d56c6 /pkgs/applications/window-managers | |
parent | 83fe2a4bfa9f77dd8a017ba3f066203d5c9a7a93 (diff) |
Herbstluftwm: Fix zsh completion.
Files where installed in the wrong directory. This commit also replaces sed with substituteInPlace.
Diffstat (limited to 'pkgs/applications/window-managers')
-rw-r--r-- | pkgs/applications/window-managers/herbstluftwm/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/applications/window-managers/herbstluftwm/default.nix b/pkgs/applications/window-managers/herbstluftwm/default.nix index c4b265f4b41a8..8b6422df82849 100644 --- a/pkgs/applications/window-managers/herbstluftwm/default.nix +++ b/pkgs/applications/window-managers/herbstluftwm/default.nix @@ -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 ]; |