diff options
author | Rodney Lorrimar <dev@rodney.id.au> | 2023-07-06 16:04:25 +0800 |
---|---|---|
committer | Rodney Lorrimar <dev@rodney.id.au> | 2023-07-06 20:18:43 +0800 |
commit | 689ff4fd8f947974e836a08162b0c429ea420d82 (patch) | |
tree | fc29052c4a7faf3273ed702594473a796d46fd49 /pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix | |
parent | 285a85dac4a9afa9480392746bcd8af4c0fe2b0b (diff) | |
download | nixlib-689ff4fd8f947974e836a08162b0c429ea420d82.tar nixlib-689ff4fd8f947974e836a08162b0c429ea420d82.tar.gz nixlib-689ff4fd8f947974e836a08162b0c429ea420d82.tar.bz2 nixlib-689ff4fd8f947974e836a08162b0c429ea420d82.tar.lz nixlib-689ff4fd8f947974e836a08162b0c429ea420d82.tar.xz nixlib-689ff4fd8f947974e836a08162b0c429ea420d82.tar.zst nixlib-689ff4fd8f947974e836a08162b0c429ea420d82.zip |
haskell.packages.ghc96.taffybar: Fix build with blunt force
This applies the Cabal pkgconfig workaround to taffybar and all of its pkgconfig-using dependencies. A typical example of the build error looks like this: Package libpcre2-8 was not found in the pkg-config search path.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix | 33 |
1 files changed, 29 insertions, 4 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix index 6d6a2a8964ed..0aa995c8506d 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix @@ -189,10 +189,35 @@ self: super: { gi-cairo-connector # mtl <2.3 ; - # Apply workaround for Cabal 3.8 bug https://github.com/haskell/cabal/issues/8455 - # by making `pkg-config --static` happy. Note: Cabal 3.9 is also affected, so - # the GHC 9.6 configuration may need similar overrides eventually. - X11-xft = __CabalEagerPkgConfigWorkaround super.X11-xft; + # Apply workaround for Cabal 3.9 bug https://github.com/haskell/cabal/issues/8455 + # by making `pkg-config --static` happy. Note: Cabal 3.8 is also affected, so + # the GHC 9.4 configuration needs similar overrides. + inherit (pkgs.lib.mapAttrs (_: __CabalEagerPkgConfigWorkaround) super) + X11-xft + cairo + gi-atk + gi-cairo + gi-cairo-render + gi-dbusmenu + gi-dbusmenugtk3 + gi-gdk + gi-gdkpixbuf + gi-gdkx11 + gi-gio + gi-glib + gi-gmodule + gi-gobject + gi-gtk + gi-harfbuzz + gi-pango + gi-xlib + glib + gtk-sni-tray + haskell-gi + haskell-gi-base + pango + taffybar + ; # Pending text-2.0 support https://github.com/gtk2hs/gtk2hs/issues/327 gtk = doJailbreak super.gtk; |