Merge pull request #6528 from codyopel/stdenv-fixes

remove stdenv.isBSD
This commit is contained in:
William A. Kennington III
2015-03-02 20:10:07 -08:00
7 changed files with 18 additions and 31 deletions

View File

@@ -5,9 +5,9 @@ let
platform = with stdenv;
if isDarwin then "macosx"
else if isCygwin then "cygwin"
else if isBSD then "bsd"
else if (isFreeBSD || isOpenBSD) then "bsd"
else if isSunOS then "solaris"
else "linux"; # Should be a sane default
else "linux"; # Should be a sane default
lib = stdenv.lib;
in
stdenv.mkDerivation {