summary refs log tree commit diff
path: root/pkgs/system/all-packages.nix
diff options
context:
space:
mode:
authorEelco Dolstra2004-05-18 10:59:18 +0000
committerEelco Dolstra2004-05-18 10:59:18 +0000
commit1b47486557904fef3b186ecaf14698d904861fd8 (patch)
tree7fba7668527a18872b781db2e846ee84caad23e2 /pkgs/system/all-packages.nix
parent6b2348542aff34f975a0afc2c9fa85a4f86c8f76 (diff)
* Darwin (Mac OS X) standard environment.
svn path=/nixpkgs/trunk/; revision=1031
Diffstat (limited to 'pkgs/system/all-packages.nix')
-rw-r--r--pkgs/system/all-packages.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/system/all-packages.nix b/pkgs/system/all-packages.nix
index 571986ec997f..1de35dcaa4ba 100644
--- a/pkgs/system/all-packages.nix
+++ b/pkgs/system/all-packages.nix
@@ -11,7 +11,7 @@
 
   # Select the right instantiation.
   body =
-    if system == "i686-linux"
-    then stdenvs.stdenvLinuxPkgs
-    else (stdenvs.stdenvNixPkgs);
+    if system == "i686-linux" then stdenvs.stdenvLinuxPkgs
+    else if system == "powerpc-darwin7.3.0" then stdenvs.stdenvDarwinPkgs
+    else stdenvs.stdenvNativePkgs;
 }