From 681929cd4d4daa05dfdb89283dcda7f1f20a970d Mon Sep 17 00:00:00 2001 From: LluĂ­s Batlle i Rossell Date: Fri, 5 Mar 2010 22:10:54 +0000 Subject: 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 --- pkgs/applications/window-managers/dwm/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/applications/window-managers/dwm') diff --git a/pkgs/applications/window-managers/dwm/default.nix b/pkgs/applications/window-managers/dwm/default.nix index c24e4e58392..6f7a156e1aa 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; -- cgit 1.4.1