diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-03-05 22:10:54 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-03-05 22:10:54 +0000 |
commit | 681929cd4d4daa05dfdb89283dcda7f1f20a970d (patch) | |
tree | 355a8210b5826bb4e82cb7228159f1fdeac719ac /pkgs/applications/window-managers/dwm | |
parent | ba28274db71c65237a54156e2d57851ad597da80 (diff) |
I noticed that the patchPhase does not run postPatch, if there are no 'patches'.
So, I move what I had in postPatch to prePatch, which is run with or without 'patches'.
svn path=/nixpkgs/trunk/; revision=20440
Diffstat (limited to 'pkgs/applications/window-managers/dwm')
-rw-r--r-- | pkgs/applications/window-managers/dwm/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/window-managers/dwm/default.nix b/pkgs/applications/window-managers/dwm/default.nix index c24e4e583929..6f7a156e1aa8 100644 --- a/pkgs/applications/window-managers/dwm/default.nix +++ b/pkgs/applications/window-managers/dwm/default.nix @@ -10,7 +10,7 @@ stdenv.mkDerivation rec { buildInputs = [ libX11 libXinerama ]; - postPatch = ''sed -i "s@/usr/local@$out@" config.mk''; + prePatch = ''set -x; sed -i "s@/usr/local@$out@" config.mk''; # Allow users set their own list of patches inherit patches; |