Author: ludo
Date: Wed Apr 18 18:42:44 2012
New Revision: 33835
URL: https://nixos.org/websvn/nix/?rev=33835&sc=1

Log:
GNU Hurd: Use `preConfigure' to `autoreconf' only.

Modified:
   nixpkgs/trunk/pkgs/os-specific/gnu/hurd/default.nix

Modified: nixpkgs/trunk/pkgs/os-specific/gnu/hurd/default.nix
==============================================================================
--- nixpkgs/trunk/pkgs/os-specific/gnu/hurd/default.nix Wed Apr 18 17:22:10 
2012        (r33834)
+++ nixpkgs/trunk/pkgs/os-specific/gnu/hurd/default.nix Wed Apr 18 18:42:44 
2012        (r33835)
@@ -40,10 +40,12 @@
         then [ "--with-parted" ]
         else [ "--without-parted" ]);
 
-  preConfigure =
-    '' autoreconf -vfi
+  # Use `preConfigure' only for `autoreconf', so that users know they can
+  # simply clear it when the autoconf phase is unneeded.
+  preConfigure = "autoreconf -vfi";
 
-       echo "removing \`-o root' from makefiles..."
+  postConfigure =
+    '' echo "removing \`-o root' from makefiles..."
        for mf in {utils,daemons}/Makefile
        do
          sed -i "$mf" -e's/-o root//g'
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to