summary refs log tree commit diff
path: root/pkgs/stdenv/linux/default.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2009-02-02 15:03:38 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2009-02-02 15:03:38 +0000
commit1dee2d3de0baf12ac4dd700c95c6a4da54bfaaf6 (patch)
tree41d0cdffd3840e346797417a210aaac34ff4b04a /pkgs/stdenv/linux/default.nix
parent3e727ebe97d37394c06c0de28635535cd527e0ab (diff)
* Fix stdenvNative/stdenvNix.
svn path=/nixpkgs/branches/stdenv-updates/; revision=13957
Diffstat (limited to 'pkgs/stdenv/linux/default.nix')
-rw-r--r--pkgs/stdenv/linux/default.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/stdenv/linux/default.nix b/pkgs/stdenv/linux/default.nix
index 4504c7faec1ac..8fbaee6a86af6 100644
--- a/pkgs/stdenv/linux/default.nix
+++ b/pkgs/stdenv/linux/default.nix
@@ -22,6 +22,7 @@ rec {
   # 1) Create a standard environment by downloading pre-built binaries
   # of coreutils, GCC, etc.
 
+  
   # This function downloads a file.
   download = {url, sha256}: derivation {
     name = baseNameOf (toString url);
@@ -34,6 +35,7 @@ rec {
     impureEnvVars = [ "http_proxy" "https_proxy" "ftp_proxy" "all_proxy" "no_proxy" ];
   };
 
+  
   # Download and unpack the bootstrap tools (coreutils, GCC, Glibc, ...).
   bootstrapTools = derivation {
     name = "bootstrap-tools";
@@ -77,8 +79,8 @@ rec {
       shell = "${bootstrapTools}/bin/sh";
       initialPath = [bootstrapTools] ++ extraPath;
       fetchurlBoot = fetchurl;
-      forceFetchurlBoot = true;
-      inherit gcc extraAttrs;
+      inherit gcc;
+      extraAttrs = extraAttrs // {inherit fetchurl;};
     };
 
 
@@ -215,8 +217,7 @@ rec {
 
     shell = stdenvLinuxBoot3Pkgs.bash + "/bin/sh";
     
-    fetchurlBoot = stdenvLinuxBoot3.fetchurlBoot;
-    forceFetchurlBoot = false;
+    fetchurlBoot = fetchurl;
     
     extraAttrs = {
       inherit (stdenvLinuxBoot2Pkgs) binutils /* gcc */ glibc;