* Use stdenv.isDarwin.

svn path=/nixpkgs/trunk/; revision=5728
This commit is contained in:
Eelco Dolstra
2006-07-17 11:07:32 +00:00
parent 1fc6ce85c4
commit fbf526d408
4 changed files with 4 additions and 8 deletions

View File

@@ -3,7 +3,7 @@
stdenv.mkDerivation {
name = "bzip2-1.0.3";
builder =
if stdenv.system == "powerpc-darwin" || stdenv.system == "i686-darwin" then ./builder-darwin.sh
if stdenv.isDarwin then ./builder-darwin.sh
else if stdenv.system == "i686-freebsd" then ./builder-freebsd.sh
else if stdenv.system == "i686-cygwin" then ./builder-cygwin.sh
else ./builder.sh;