f6e0983d44
* Some refactoring on stdenv-linux to prevent unnecessary rebuilds. svn path=/nixpkgs/trunk/; revision=308
21 lines
489 B
Plaintext
21 lines
489 B
Plaintext
Function(["nativeTools"],
|
|
|
|
Package(
|
|
[ ("name", "stdenv-linux")
|
|
, ("build", Relative("stdenv-linux/stdenv-build.sh"))
|
|
|
|
, ("nativeTools", Var("nativeTools"))
|
|
|
|
, ("setup", Relative("stdenv-linux/setup.sh"))
|
|
, ("baseenv", IncludeFix("baseenv/baseenv.fix"))
|
|
, ("glibc", IncludeFix("glibc/glibc.fix"))
|
|
|
|
, ("tools", If(Var("nativeTools"),
|
|
[],
|
|
[ IncludeFix("coreutils/coreutils.fix")
|
|
, IncludeFix("gnutar/gnutar.fix")
|
|
]))
|
|
]
|
|
)
|
|
)
|