summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2006-02-09 15:55:20 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2006-02-09 15:55:20 +0000
commit29c64c6c6768ea1594a85d1544ee9c64a16d534e (patch)
tree994cdb4bb784634f4586dac5a50227f95b07aa82
parent6f2a205e8779c4ffa56dde6d4d8b376387c013e9 (diff)
* Move top-level/stdenvs.nix to the stdenv/ directory.
svn path=/nixpkgs/branches/usability/; revision=4774
-rw-r--r--pkgs/stdenv/default.nix (renamed from pkgs/top-level/stdenvs.nix)14
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 8 insertions, 8 deletions
diff --git a/pkgs/top-level/stdenvs.nix b/pkgs/stdenv/default.nix
index fe25421b80447..b66d770782c4d 100644
--- a/pkgs/top-level/stdenvs.nix
+++ b/pkgs/stdenv/default.nix
@@ -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;
   };
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index bf3fd7ca20a71..a88ebc862de37 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -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;