Skip to content

Commit 8638d45

Browse files
committed
Build ghci/ghc with internal interpreter
Fixes #1512
1 parent c6a44a7 commit 8638d45

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

modules/configuration-nix.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,11 @@ in {
112112
packages.closed.components.tests.readme.build-tools = [
113113
config.hsPkgs.buildPackages.markdown-unlit
114114
];
115+
116+
# Build ghci and ghc with internal interpreter support to make the
117+
# `reinstallableLibGhc` build more like the boot versions.
118+
# See https://github.com/input-output-hk/haskell.nix/issues/1512
119+
packages.ghc.flags.ghci = true;
120+
packages.ghci.flags.ghci = true;
121+
packages.ghci.flags.internal-interpreter = true;
115122
}

0 commit comments

Comments
 (0)