mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
Fix pkgs.haskellPackages.gtk
build
Haskell's `gtk` package requires the `have-quartz-gtk` flag to be built on OS X when using the Quartz backend
This commit is contained in:
parent
392331ad58
commit
8beee1ec2d
@ -689,6 +689,10 @@ self: super: {
|
||||
# Tools that use gtk2hs-buildtools now depend on them in a custom-setup stanza
|
||||
cairo = addBuildTool super.cairo self.gtk2hs-buildtools;
|
||||
pango = disableHardening (addBuildTool super.pango self.gtk2hs-buildtools) ["fortify"];
|
||||
gtk =
|
||||
if pkgs.stdenv.isDarwin
|
||||
then appendConfigureFlag super.gtk "-fhave-quartz-gtk"
|
||||
else super.gtk;
|
||||
|
||||
# https://github.com/commercialhaskell/stack/issues/3001
|
||||
stack = doJailbreak super.stack;
|
||||
|
Loading…
Reference in New Issue
Block a user