Author: rob
Date: Mon May  2 12:21:34 2011
New Revision: 27094
URL: https://svn.nixos.org/websvn/nix/?rev=27094&sc=1

Log:


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

Modified: hydra-config/gnu/trunk/wget/release.nix
==============================================================================
--- hydra-config/gnu/trunk/wget/release.nix     Mon May  2 12:16:56 2011        
(r27093)
+++ hydra-config/gnu/trunk/wget/release.nix     Mon May  2 12:21:34 2011        
(r27094)
@@ -29,7 +29,7 @@
 
   buildInputsFrom = pkgs: with pkgs; [openssl perl];
   configureFlags = "--with-ssl=openssl";
-  preConfigure = ''
+  preConfigure = pkgs: ''
     sed -i 's|/usr/bin/env|${pkgs.coreutils}/bin/env|' tests/run-px
     find . -name "*.pl" | xargs sed -i 
's|/usr/bin/env|${pkgs.coreutils}/bin/env|' 
   '';
@@ -63,12 +63,14 @@
 
       build = pkgs: {
         buildInputs = buildInputsFrom pkgs;
-        inherit configureFlags preConfigure; 
+        inherit configureFlags ; 
+        preConfigure = preConfigure pkgs;
       };      
 
       coverage = pkgs: {
         buildInputs = buildInputsFrom pkgs;
-        inherit configureFlags preConfigure; 
+        inherit configureFlags; 
+        preConfigure = preConfigure pkgs;
       };      
     };   
   }
_______________________________________________
nix-commits mailing list
nix-comm...@cs.uu.nl
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to