Skip to content

Commit 17abfa0

Browse files
authored
1 parent e146358 commit 17abfa0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

modules/configuration-nix.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,4 +163,10 @@ in {
163163
packages.ghc-paths.components.library.keepGhc = true;
164164
# It can also store a symlink to the package DB directory
165165
packages.ghc-paths.components.library.keepConfigFiles = true;
166+
167+
# There seems to be an issue building gi-gtk with ghc 9.6.1.
168+
# https://gitlab.haskell.org/ghc/ghc/-/issues/23392
169+
# Using -j1 works around the issue.
170+
packages.gi-gtk.components.library.ghcOptions =
171+
pkgs.lib.optional (__elem config.compiler.nix-name ["ghc961"]) "-j1";
166172
}

0 commit comments

Comments
 (0)