MinGW stdenv needs replace

svn path=/nixpkgs/trunk/; revision=12130
This commit is contained in:
Martin Bravenboer 2008-06-16 23:18:56 +00:00
parent fdb399ead1
commit 7d56212df2
2 changed files with 12 additions and 1 deletions

View File

@ -77,7 +77,7 @@ let {
* binutils is on the path because it contains dlltool, which * binutils is on the path because it contains dlltool, which
* is invoked on the PATH by some packages. * is invoked on the PATH by some packages.
*/ */
initialPath = [make binutils gccCore gccCpp mingwRuntimeSrc w32apiSrc msys]; initialPath = [make binutils gccCore gccCpp mingwRuntimeSrc w32apiSrc replace msys];
gcc = gccCore; gcc = gccCore;
shell = msysShell; shell = msysShell;
inherit curl; inherit curl;
@ -223,4 +223,10 @@ let {
stdenv = stdenvInit3; stdenv = stdenvInit3;
inherit fetchurl; inherit fetchurl;
}; };
replace =
(import ./pkgs).replace {
stdenv = stdenvInit3;
inherit fetchurl;
};
} }

View File

@ -135,6 +135,11 @@ rec {
}; };
}; };
replace = {stdenv, fetchurl} :
import ../../../tools/text/replace {
inherit fetchurl stdenv;
};
/* /*
pkgs.coreutils pkgs.coreutils
pkgs.findutils pkgs.findutils