* Use stdenv.isDarwin.
svn path=/nixpkgs/trunk/; revision=5728
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user