gnatcoll-python3: fix build on x86_64-darwin

This commit is contained in:
Weijia Wang 2023-05-08 21:07:04 +03:00
parent 0acb5e2466
commit 561c6f2b6c

View file

@ -14,6 +14,7 @@
, zlib
, python3
, ncurses
, darwin
}:
let
@ -48,6 +49,10 @@ stdenv.mkDerivation rec {
python3
];
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.CoreFoundation
];
# propagate since gprbuild needs to find referenced .gpr files
# and all dependency C libraries when statically linking a
# downstream executable.