diff --git a/pkgs/development/libraries/physfs/default.nix b/pkgs/development/libraries/physfs/default.nix index 66f2d433ee3e..160f2f64cf40 100644 --- a/pkgs/development/libraries/physfs/default.nix +++ b/pkgs/development/libraries/physfs/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, cmake, doxygen +{ stdenv, fetchurl, cmake, doxygen, darwin , zlib }: let @@ -14,7 +14,8 @@ let nativeBuildInputs = [ cmake doxygen ]; - buildInputs = [ zlib ]; + buildInputs = [ zlib ] + ++ stdenv.lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Foundation ]; enableParallelBuilding = true; @@ -32,7 +33,7 @@ let homepage = "http://icculus.org/physfs/"; description = "Library to provide abstract access to various archives"; license = licenses.free; - platforms = platforms.linux; + platforms = platforms.unix; }; };