Skip to content

Commit

Permalink
Fix gi-gtk for ghc 9.8.1 (#2159)
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack authored Feb 13, 2024
1 parent 4299059 commit ec0aa36
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/configuration-nix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,9 @@ in {
# https://gitlab.haskell.org/ghc/ghc/-/issues/23392
# Using -j1 works around the issue.
packages.gi-gtk.components.library.ghcOptions =
pkgs.lib.optional (__elem config.compiler.nix-name ["ghc961" "ghc962" "ghc963" "ghc964"]) "-j1";
pkgs.lib.optional (
builtins.compareVersions config.compiler.version "9.6.1" >= 0
&& builtins.compareVersions config.compiler.version "9.9" < 0) "-j1";

# With recent versions of nixpkgs fortify causes musl version of the
# text package to fail with:
Expand Down

0 comments on commit ec0aa36

Please sign in to comment.