Author: ludo
Date: Tue Jan  4 16:15:24 2011
New Revision: 25393
URL: https://svn.nixos.org/websvn/nix/?rev=25393&sc=1

Log:
hurd: Add `xbuild_without_parted'.

Modified:
   hydra-config/gnu/trunk/hurd/release.nix

Modified: hydra-config/gnu/trunk/hurd/release.nix
==============================================================================
--- hydra-config/gnu/trunk/hurd/release.nix     Tue Jan  4 16:10:48 2011        
(r25392)
+++ hydra-config/gnu/trunk/hurd/release.nix     Tue Jan  4 16:15:24 2011        
(r25393)
@@ -1,5 +1,5 @@
 /* Continuous integration of GNU with Hydra/Nix.
-   Copyright (C) 2010  Ludovic Courtès <[email protected]>
+   Copyright (C) 2010, 2011  Ludovic Courtès <[email protected]>
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -106,6 +106,27 @@
           inherit meta;
         }).hostDrv;
 
+    # Same without dependency on Parted.
+    xbuild_without_parted =
+      { tarball ? jobs.tarball
+      }:
+
+      let
+        pkgs = import nixpkgs {
+          system = "x86_64-linux";                # build platform
+          crossSystem = crossSystems.i586_pc_gnu; # host platform
+        };
+      in
+        (pkgs.releaseTools.nixBuild {
+          name = "hurd";
+          src = tarball;
+          propagatedBuildNativeInputs = [ pkgs.machHeaders ];
+          buildNativeInputs = [ pkgs.mig ];
+          buildInputs = [ pkgs.libuuid ];
+          configureFlags = [ "--without-parted" ];
+          inherit meta;
+        }).hostDrv;
+
     # Complete cross bootstrap of GNU from GNU/Linux.
     xbootstrap =
       { tarball ? jobs.tarball
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to