summary refs log tree commit diff
path: root/pkgs/os-specific
diff options
context:
space:
mode:
authorLudovic Courtès2010-05-26 20:39:53 +0000
committerLudovic Courtès2010-05-26 20:39:53 +0000
commit4d2a82ab85a182f5c9d9afcce70cc070b696cc40 (patch)
tree3bade5890eaa1262f40c257ad34e47507512a13c /pkgs/os-specific
parent814a4c93f7b65d0753ba4ea1d3d1aac60656fc14 (diff)
GNU Mach: Fix full build.
svn path=/nixpkgs/trunk/; revision=21994
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r--pkgs/os-specific/gnu/mach/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/os-specific/gnu/mach/default.nix b/pkgs/os-specific/gnu/mach/default.nix
index 7949f5e8e45a..95b3921ee2b7 100644
--- a/pkgs/os-specific/gnu/mach/default.nix
+++ b/pkgs/os-specific/gnu/mach/default.nix
@@ -16,7 +16,12 @@ stdenv.mkDerivation ({
     inherit rev;
   };
 
-  configureFlags = "--build=i586-pc-gnu";
+  configureFlags =
+       stdenv.lib.optional headersOnly "--build=i586-pc-gnu"  # cheat
+
+    # Always enable dependency tracking.  See
+    # <http://lists.gnu.org/archive/html/bug-hurd/2010-05/msg00137.html>.
+    ++ [ "--enable-dependency-tracking" ];
 
   buildNativeInputs = [ autoconf automake texinfo ]
     ++ stdenv.lib.optional (mig != null) mig;