* Don't require a stdenv to build stdenv. This obviates the need for
a stdenvInitial in the bootstrap. svn path=/nixpkgs/branches/stdenv-updates/; revision=13942
This commit is contained in:
parent
12038d5586
commit
52122b0e4d
@ -8,7 +8,11 @@ _postHook="$postHook"
|
|||||||
preHook=
|
preHook=
|
||||||
postHook=
|
postHook=
|
||||||
|
|
||||||
source $stdenv/setup
|
export PATH=
|
||||||
|
for i in $initialPath; do
|
||||||
|
if test "$i" = /; then i=; fi
|
||||||
|
PATH=$PATH${PATH:+:}$i/bin
|
||||||
|
done
|
||||||
|
|
||||||
mkdir $out
|
mkdir $out
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, name, preHook ? null, postHook ? null, initialPath, gcc, shell
|
{ system, name, preHook ? null, postHook ? null, initialPath, gcc, shell
|
||||||
, param1 ? "", param2 ? "", param3 ? "", param4 ? "", param5 ? ""
|
, param1 ? "", param2 ? "", param3 ? "", param4 ? "", param5 ? ""
|
||||||
, extraAttrs ? {}
|
, extraAttrs ? {}
|
||||||
, fetchurlBoot, forceFetchurlBoot
|
, fetchurlBoot, forceFetchurlBoot
|
||||||
@ -11,10 +11,12 @@ let {
|
|||||||
# The stdenv that we are producing.
|
# The stdenv that we are producing.
|
||||||
result =
|
result =
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
derivation {
|
||||||
inherit name;
|
inherit system name;
|
||||||
|
|
||||||
builder = ./builder.sh;
|
builder = shell;
|
||||||
|
|
||||||
|
args = ["-e" ./builder.sh];
|
||||||
|
|
||||||
setup = setupScript;
|
setup = setupScript;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user