physfs: enable build on darwin
This commit is contained in:
parent
5306274c0e
commit
182b0d051a
1 changed files with 4 additions and 3 deletions
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue