summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2011-11-21 14:11:04 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2011-11-21 14:11:04 +0000
commit5abed12234b39120cb0e509114838fb56d7ff41f (patch)
tree30c51c58f0940d7f2257dc7e6098d37d2c8d8bfc
parentcf4a0bdce9783de271cc668a4c13cd09a7af6afc (diff)
downloadnixlib-5abed12234b39120cb0e509114838fb56d7ff41f.tar
nixlib-5abed12234b39120cb0e509114838fb56d7ff41f.tar.gz
nixlib-5abed12234b39120cb0e509114838fb56d7ff41f.tar.bz2
nixlib-5abed12234b39120cb0e509114838fb56d7ff41f.tar.lz
nixlib-5abed12234b39120cb0e509114838fb56d7ff41f.tar.xz
nixlib-5abed12234b39120cb0e509114838fb56d7ff41f.tar.zst
nixlib-5abed12234b39120cb0e509114838fb56d7ff41f.zip
* i386-sunos -> i686-solaris.
svn path=/nixpkgs/trunk/; revision=30507
-rw-r--r--pkgs/development/libraries/ncurses/default.nix2
-rw-r--r--pkgs/development/tools/misc/autoconf/default.nix2
-rw-r--r--pkgs/stdenv/generic/default.nix3
-rw-r--r--pkgs/stdenv/native/default.nix8
-rw-r--r--pkgs/top-level/all-packages.nix2
5 files changed, 9 insertions, 8 deletions
diff --git a/pkgs/development/libraries/ncurses/default.nix b/pkgs/development/libraries/ncurses/default.nix
index 6e15dca01f33..b503493ac88e 100644
--- a/pkgs/development/libraries/ncurses/default.nix
+++ b/pkgs/development/libraries/ncurses/default.nix
@@ -8,7 +8,7 @@ let
      <http://mail.python.org/pipermail/python-bugs-list/2006-September/035362.html>,
      but this is left as an exercise to the reader.
      So disable them for now.  */
-  cxx = stdenv.system != "i386-sunos";
+  cxx = stdenv.system != "i686-solaris";
 in
 stdenv.mkDerivation (rec {
   name = "ncurses-5.7";
diff --git a/pkgs/development/tools/misc/autoconf/default.nix b/pkgs/development/tools/misc/autoconf/default.nix
index 82f8b1100541..ce18fd1a377a 100644
--- a/pkgs/development/tools/misc/autoconf/default.nix
+++ b/pkgs/development/tools/misc/autoconf/default.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
   # details.
   # There are many test failures on `i386-pc-solaris2.11'.
   doCheck = (stdenv.system != "i686-cygwin"
-             && stdenv.system != "i386-sunos");
+             && stdenv.system != "i686-solaris");
 
   # Don't fixup "#! /bin/sh" in Autoconf, otherwise it will use the
   # "fixed" path in generated files!
diff --git a/pkgs/stdenv/generic/default.nix b/pkgs/stdenv/generic/default.nix
index c4d6a3666d0d..436b912d8d6f 100644
--- a/pkgs/stdenv/generic/default.nix
+++ b/pkgs/stdenv/generic/default.nix
@@ -98,7 +98,8 @@ let
                || result.system == "powerpc-linux"
                || result.system == "armv5tel-linux"
                || result.system == "mips64-linux";
-        isSunOS = result.system == "i386-sunos";
+        isSunOS = result.system == "i686-solaris"
+               || result.system == "x86_64-solaris";
         isCygwin = result.system == "i686-cygwin";
 	isFreeBSD = result.system == "i686-freebsd"
 	       || result.system == "x86_64-freebsd";
diff --git a/pkgs/stdenv/native/default.nix b/pkgs/stdenv/native/default.nix
index 88b3c17b582b..9d3b60d67a57 100644
--- a/pkgs/stdenv/native/default.nix
+++ b/pkgs/stdenv/native/default.nix
@@ -3,12 +3,12 @@
 rec {
 
   shell = 
-    if system == "i686-freebsd" || system == "x86_64-freebsd" 
-    then "/usr/local/bin/bash"
+    if system == "i686-freebsd" || system == "x86_64-freebsd" then "/usr/local/bin/bash"
+    else if system == "i686-solaris" then "/usr/bin/bash"
     else "/bin/bash";
 
   path = 
-    (if system == "i386-sunos" then [ "/usr/gnu" ] else []) ++
+    (if system == "i686-solaris" then [ "/usr/gnu" ] else []) ++
     (if system == "i686-netbsd" then [ "/usr/pkg" ] else []) ++
     ["/" "/usr" "/usr/local"];
 
@@ -115,7 +115,7 @@ rec {
     name = "gcc-native";
     nativeTools = true;
     nativeLibc = true;
-    nativePrefix = if system == "i386-sunos" then "/usr/gnu" else "/usr";
+    nativePrefix = if system == "i686-solaris" then "/usr/gnu" else "/usr";
     stdenv = stdenvBoot0;
   };
 
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 46409086d33e..f4c9f1a9adff 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -2787,7 +2787,7 @@ let
   automake111x = callPackage ../development/tools/misc/automake/automake-1.11.x.nix {
     doCheck = !stdenv.isArm && !stdenv.isCygwin
       # Some of the parallel tests seem to hang on `i386-pc-solaris2.11'.
-      && stdenv.system != "i386-sunos";
+      && stdenv.system != "i686-solaris";
   };
 
   automoc4 = callPackage ../development/tools/misc/automoc4 { };