Hamish Mackenzie
Hamish Mackenzie
I don't think placeholder will help (based on https://discourse.nixos.org/t/what-is-the-difference-between-placeholder-out-and-out/4862). We have multiple derivations that could all have `/bin` directories where cabal expects there to be only one. We could have...
See https://github.com/input-output-hk/haskell.nix/blob/master/builder/make-config-files.nix
Ok so. It looks like we need a way to get the correct cabal store package db path into the `cabal.config` file. For instance if I run this in the...
Another option is to exclude `monad-fault` from the list of packages to be built in the shell. Then in the shell use a `.project` file that does not include the...
Hopefully this sort of thing will be fixed by #1714
`callCabalProjectToNix` does not clean `src`, so when you pass in `src = ./.;` it will introduce a dependency on everything (even build artefacts). You can use `pkgs.lib.cleanSourceWIth` to filter out...
Oh that makes sense. The cleanSourceWith stuff would not help on CI where the source should be clean anyway. It is only useful if you are running `build.nix` locally where...
Is this still an issue? Haskell.nix will use the cabal file if there is one and ignore the `package.yaml` and my understanding is that it is popular now to include...
So we need to add docs that indicate that if you need to add to a components `buildInputs` use `.libs` and if you need to add to `nativeBuildInputs` use `.build-tools`.
@michaelpj do you remember which tests these were? I think they must have been filtered or fixed as hydra builds are passing. ghc 8.10.7 https://hydra.iohk.io/build/19972811 ghc 9.0.2 https://hydra.iohk.io/build/19972815 ghc 9.2.4...