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

Log:
binutils: Enable `succeedOnFailure' and `keepBuildDirectory'.

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

Modified: hydra-config/gnu/trunk/binutils/release.nix
==============================================================================
--- hydra-config/gnu/trunk/binutils/release.nix Tue Jan  4 16:10:45 2011        
(r25391)
+++ hydra-config/gnu/trunk/binutils/release.nix Tue Jan  4 16:10:48 2011        
(r25392)
@@ -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
@@ -41,15 +41,8 @@
   inherit (pkgs) releaseTools;
 
   checkPhase = "make -k check";
-  failureHook =
-    '' echo "build failed, dumping log files..."
-       for log in $(find -name \*.log)
-       do
-         echo
-         echo "--- $log"
-         cat "$log"
-       done
-    '';
+  succeedOnFailure = true;
+  keepBuildDirectory = true;
 
   jobs = rec {
 
@@ -100,7 +93,7 @@
 
              The fix should probably be in the GCC Nix expression.  */
 
-          inherit meta checkPhase failureHook;
+          inherit meta checkPhase succeedOnFailure keepBuildDirectory;
         };
 
     buildGold =
@@ -117,7 +110,7 @@
           buildInputs = with pkgs;
             [ dejagnu zlib flex2535 bison ];
 
-          inherit meta checkPhase failureHook;
+          inherit meta checkPhase succeedOnFailure keepBuildDirectory;
         };
   };
 
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to