From 068b2158f54c8773a42d48e465fa5a5fab1083a4 Mon Sep 17 00:00:00 2001 From: Sander van der Burg Date: Wed, 30 Sep 2009 15:19:25 +0000 Subject: Added Solaris support to the stdenv svn path=/nixpkgs/trunk/; revision=17559 --- pkgs/stdenv/native/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pkgs/stdenv/native') diff --git a/pkgs/stdenv/native/default.nix b/pkgs/stdenv/native/default.nix index cc76a88db70f..0cbfb07eb74f 100644 --- a/pkgs/stdenv/native/default.nix +++ b/pkgs/stdenv/native/default.nix @@ -4,8 +4,8 @@ rec { shell = "/bin/bash"; - path = ["/" "/usr" "/usr/local"]; - + path = (if system == "i386-sunos" then [ "/usr/gnu" ] else []) ++ + ["/" "/usr" "/usr/local"]; prehookBase = builtins.toFile "prehook-base.sh" '' # Disable purity tests; it's allowed (even needed) to link to @@ -91,7 +91,7 @@ rec { name = "gcc-native"; nativeTools = true; nativeLibc = true; - nativePrefix = "/usr"; + nativePrefix = if system == "i386-sunos" then "/usr/gnu" else "/usr"; stdenv = stdenvBoot0; }; -- cgit 1.4.1