gnatcoll-python3: fix build on x86_64-darwin
This commit is contained in:
parent
0acb5e2466
commit
561c6f2b6c
|
@ -14,6 +14,7 @@
|
||||||
, zlib
|
, zlib
|
||||||
, python3
|
, python3
|
||||||
, ncurses
|
, ncurses
|
||||||
|
, darwin
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
@ -48,6 +49,10 @@ stdenv.mkDerivation rec {
|
||||||
python3
|
python3
|
||||||
];
|
];
|
||||||
|
|
||||||
|
buildInputs = lib.optionals stdenv.isDarwin [
|
||||||
|
darwin.apple_sdk.frameworks.CoreFoundation
|
||||||
|
];
|
||||||
|
|
||||||
# propagate since gprbuild needs to find referenced .gpr files
|
# propagate since gprbuild needs to find referenced .gpr files
|
||||||
# and all dependency C libraries when statically linking a
|
# and all dependency C libraries when statically linking a
|
||||||
# downstream executable.
|
# downstream executable.
|
||||||
|
|
Loading…
Reference in a new issue