haskellPackages.FractalArt: pass objc on darwin

This commit is contained in:
sternenseemann 2021-05-06 17:53:13 +02:00
parent a5a9833855
commit 6b1ec5695f

View File

@ -857,4 +857,10 @@ self: super: builtins.intersectAttrs super {
install -D man/pnbackup.1 $out/share/man/man1/pnbackup.1
'' + (drv.postInstall or "");
});
# TODO(@sternenseemann): can we determine this statically in cabal2nix?
FractalArt = super.FractalArt.override
(lib.optionalAttrs pkgs.stdenv.hostPlatform.isDarwin {
objc = pkgs.darwin.libojc;
});
}