Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

Commit 91385d7

Browse files
committed
[DEVOPS-1120] Add compiler-specific patches to package set
Now it builds!
1 parent b92e5b8 commit 91385d7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

nix/pkgs.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ let
3939
# our packages
4040
stack-pkgs = import ./.stack-pkgs.nix;
4141

42+
# The compiler referenced in the stack config
43+
compiler = (stack-pkgs.overlay hackage).compiler.nix-name;
44+
4245
# Build the packageset with module support.
4346
# We can essentially override anything in the modules
4447
# section.
@@ -53,6 +56,7 @@ let
5356
stack-pkgs.overlay
5457
];
5558
modules = [
59+
haskell.ghcHackagePatches.${compiler}
5660
];
5761
};
5862

0 commit comments

Comments
 (0)