We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9026681 commit d041f34Copy full SHA for d041f34
src/modules/languages/haskell.nix
@@ -48,6 +48,14 @@ in
48
hpack
49
]
50
++ (lib.optional (cfg.languageServer != null) cfg.languageServer)
51
- ++ (lib.optional (cfg.stack != null) cfg.stack);
+ ++ (lib.optional (cfg.stack != null) (cfg.stack.overrideAttrs (oldAttrs: {
52
+ postInstall = (oldAttrs.postInstall or "") + ''
53
+ wrapProgram $out/bin/stack \
54
+ --add-flags "\
55
+ --no-nix \
56
+ --system-ghc \
57
+ --no-install-ghc"
58
+ '';
59
+ })));
60
};
61
}
0 commit comments