physfs_2: fix darwin build
This commit is contained in:
parent
a1d1f086c7
commit
32cf9f8121
2 changed files with 5 additions and 4 deletions
|
@ -1,5 +1,4 @@
|
||||||
{ lib, stdenv, fetchurl, cmake, doxygen, darwin
|
{ lib, stdenv, fetchurl, cmake, doxygen, zlib, Foundation, Carbon }:
|
||||||
, zlib }:
|
|
||||||
|
|
||||||
let
|
let
|
||||||
generic = version: sha256:
|
generic = version: sha256:
|
||||||
|
@ -15,7 +14,7 @@ let
|
||||||
nativeBuildInputs = [ cmake doxygen ];
|
nativeBuildInputs = [ cmake doxygen ];
|
||||||
|
|
||||||
buildInputs = [ zlib ]
|
buildInputs = [ zlib ]
|
||||||
++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Foundation ];
|
++ lib.optionals stdenv.isDarwin [ Foundation Carbon ];
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
sed s,-Werror,, -i CMakeLists.txt
|
sed s,-Werror,, -i CMakeLists.txt
|
||||||
|
|
|
@ -17217,7 +17217,9 @@ in
|
||||||
|
|
||||||
pe-parse = callPackage ../development/libraries/pe-parse { };
|
pe-parse = callPackage ../development/libraries/pe-parse { };
|
||||||
|
|
||||||
inherit (callPackage ../development/libraries/physfs { })
|
inherit (callPackage ../development/libraries/physfs {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Foundation Carbon;
|
||||||
|
})
|
||||||
physfs_2
|
physfs_2
|
||||||
physfs;
|
physfs;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue