From 0bd808eebbc977254abe907df4a23e7728c8165b Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 2 Feb 2023 09:12:10 +0100 Subject: [PATCH] haskell.packages.ghc944.X11-xft: add missing build-time dependencies The packages has additional system dependencies when compiled in the ghc-9.4.x package set. --- pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix index e927b040417c..6278c728131f 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix @@ -202,4 +202,8 @@ in { fourmolu = overrideCabal (drv: { libraryHaskellDepends = drv.libraryHaskellDepends ++ [ self.file-embed ]; }) (disableCabalFlag "fixity-th" super.fourmolu_0_10_1_0); + + # The Haskell library has additional dependencies when compiled with ghc-9.4.x. + X11-xft = addExtraLibraries [pkgs.xorg.libXau pkgs.xorg.libXdmcp pkgs.expat] super.X11-xft; + }