Hamish Mackenzie

Results 206 comments of Hamish Mackenzie

Because `ghc-bignum` is a dependency of `integer-simple` and `integer-gmp` it is included in the default `nonReinstallablePkgs` here https://github.com/input-output-hk/haskell.nix/blob/112669d1ba96fa2a1c75478d12d6f38ee2bd3ee6/modules/component-driver.nix#L63-L65 It is also in `bootPkgs` (I am not sure why). The best...

They are packages that are built during the GHC boot process (so the are available in the GHC derivation itself). Reinstalling them means haskell.nix ignoring that version and building them...

It's the debug symbols. I think there are two alternative fixes: Strip the symbols ``` modules = [{ dontStrip = false; }]; ``` Remove the references to gcc so that...

Best fix for this would be to set `reinstallableLibGhc`, but that does not work with GHC 9.0.1 yet. For now this should work: ```diff in pkgs.haskell-nix.project { # 'cleanGit' cleans...

Try removing [this bit](https://github.com/goertzenator/hnixtest/blob/ce2610658c81a874d05ffde3e22b3af54009f252/default.nix#L22-L35). One of the things `reinstallableLibGhc = true` does is it changes the default for `nonReinstallablePkgs`.

As far as I know this is fixed and the work arounds are not needed any more (since `reinstallableLibGhc` is now the default). To check I built the tools mentioned...

`modules` are applied late in the process after the cabal solver has been used to pick a plan. `modules` can sometime be safely used to override `flags` chosen by `cabal`...

Closing. Please reopen if using `cabalProject` does not work. I think `cabalProjectLocal` also works for tools now, so you could also use: ``` shell.tools = { cabal = { };...