physfs: enable build on darwin
This commit is contained in:
parent
5306274c0e
commit
182b0d051a
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, cmake, doxygen
|
{ stdenv, fetchurl, cmake, doxygen, darwin
|
||||||
, zlib }:
|
, zlib }:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -14,7 +14,8 @@ let
|
|||||||
|
|
||||||
nativeBuildInputs = [ cmake doxygen ];
|
nativeBuildInputs = [ cmake doxygen ];
|
||||||
|
|
||||||
buildInputs = [ zlib ];
|
buildInputs = [ zlib ]
|
||||||
|
++ stdenv.lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Foundation ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
@ -32,7 +33,7 @@ let
|
|||||||
homepage = "http://icculus.org/physfs/";
|
homepage = "http://icculus.org/physfs/";
|
||||||
description = "Library to provide abstract access to various archives";
|
description = "Library to provide abstract access to various archives";
|
||||||
license = licenses.free;
|
license = licenses.free;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user