From 49f7a4afd182f5a16769f1f080d5a94a29139aad Mon Sep 17 00:00:00 2001
From: Eelco Dolstra <eelco.dolstra@logicblox.com>
Date: Tue, 5 Aug 2003 13:06:06 +0000
Subject: [PATCH] * Use stdenv-linux only on Linux platforms.

svn path=/nixpkgs/trunk/; revision=250
---
 pkgs/stdenv/stdenv.fix | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/pkgs/stdenv/stdenv.fix b/pkgs/stdenv/stdenv.fix
index 714dac98cc60..7e91efd56131 100644
--- a/pkgs/stdenv/stdenv.fix
+++ b/pkgs/stdenv/stdenv.fix
@@ -1 +1,4 @@
-IncludeFix("stdenv-native/stdenv.fix")
+If ( HasSubstr(Platform(), "linux")
+   , IncludeFix("stdenv-linux/stdenv.fix")
+   , IncludeFix("stdenv-native/stdenv.fix")
+   )