glib: fix build

It's not clear why this is required, but glib includes CoreServices
headers and calls CoreServices functions, so it's reasonable to link
against the framework explicitly.
This commit is contained in:
Andrew Childs
2021-05-17 00:27:00 +09:00
parent 1fc0499569
commit 9088e445fe
2 changed files with 12 additions and 0 deletions
@@ -54,6 +54,7 @@ stdenv.mkDerivation rec {
patches = optionals stdenv.isDarwin [
./darwin-compilation.patch
./link-with-coreservices.patch
] ++ optionals stdenv.hostPlatform.isMusl [
./quark_init_on_demand.patch
./gobject_init_on_demand.patch