* Move top-level/stdenvs.nix to the stdenv/ directory.

svn path=/nixpkgs/branches/usability/; revision=4774
This commit is contained in:
Eelco Dolstra 2006-02-09 15:55:20 +00:00
parent 6f2a205e87
commit 29c64c6c67
2 changed files with 8 additions and 8 deletions

View File

@ -10,11 +10,11 @@
rec {
gccWrapper = import ../build-support/gcc-wrapper;
genericStdenv = import ../stdenv/generic;
genericStdenv = import ./generic;
# Trivial environment used for building other environments.
stdenvInitial = (import ../stdenv/initial) {
stdenvInitial = (import ./initial) {
name = "stdenv-initial";
inherit system;
};
@ -25,7 +25,7 @@ rec {
# i.e., the stuff in /bin, /usr/bin, etc. This environment should
# be used with care, since many Nix packages will not build properly
# with it (e.g., because they require GNU Make).
stdenvNative = (import ../stdenv/native) {
stdenvNative = (import ./native) {
stdenv = stdenvInitial;
inherit genericStdenv gccWrapper;
};
@ -37,7 +37,7 @@ rec {
# The Nix build environment.
stdenvNix = (import ../stdenv/nix) {
stdenvNix = (import ./nix) {
stdenv = stdenvNative;
pkgs = stdenvNativePkgs;
inherit genericStdenv gccWrapper;
@ -50,13 +50,13 @@ rec {
# Linux standard environment.
inherit (import ../stdenv/linux {inherit allPackages;})
inherit (import ./linux {inherit allPackages;})
stdenvLinux stdenvLinuxPkgs;
# Darwin (Mac OS X) standard environment. Very simple for now
# (essentially it's just the native environment).
stdenvDarwin = (import ../stdenv/darwin) {
stdenvDarwin = (import ./darwin) {
stdenv = stdenvInitial;
inherit genericStdenv gccWrapper;
};
@ -70,7 +70,7 @@ rec {
# FreeBSD standard environment. Right now this is more or less the
# same as the native environemnt. Eventually we'll want a pure
# environment similar to stdenvLinux.
stdenvFreeBSD = (import ../stdenv/freebsd) {
stdenvFreeBSD = (import ./freebsd) {
stdenv = stdenvInitial;
inherit genericStdenv gccWrapper;
};

View File

@ -42,7 +42,7 @@ rec {
stdenv = if bootStdenv == null then defaultStdenv else bootStdenv;
defaultStdenv =
(import ./stdenvs.nix {
(import ../stdenv {
inherit system;
allPackages = import ./all-packages.nix;
}).stdenv;