Hamish Mackenzie
Hamish Mackenzie
This has been bugging me for a while. Could it be related to the size of `hackage.nix`? One simple test might be to take `hacakge.nix` and strip out all the...
reinstallableLibGhc is now the default and I think cabal-doctest support works reasonably well now. See https://github.com/input-output-hk/haskell.nix/tree/master/test/cabal-doctests for an example.
I've not tried it, but one option might be to use a `source-repository-package` to reference the sub project in the `cabal.project` file of `myProject`, but also pass the `cabal.project.freeze` file...
Trace only prints the first argument. Try ```nix cabalProjectFreeze = builtins.trace "freeze: ${builtins.readFile final.purescript11.plan-nix.passthru.freeze}" (builtins.readFile (builtins.trace "freeze-file: ${final.purescript11.plan-nix.passthru.freeze}" final.purescript11.plan-nix.passthru.freeze)); ```
Should purescript11 be coming from `hackage` or is it the package in the `source-repository-package` block? Is it failing to find anything not in the freeze file? Perhaps it could be...
Did you add it also as a `source-repository-package` to the `cabal.project` as I suggested? It might suck a little to reference the branch twice (once in the nix code and...
Yes, 3.6.2 worked fine (I think because it does not include https://github.com/haskell/cabal/commit/bf32602db5770a312fe632b997ff9b7c7e4d0329)
Do the same a you would for a non cross compiling shell, but instead of using `haskell-nix` use `pkgsCross.aarch64-multiplatform.haskell-nix`. For instance to get a shell to cross compile the hello...
We recently added basic ghc devShells so we could use them in GitHub actions to test building projects without haskell.nix. https://github.com/input-output-hk/haskell.nix/blob/a30665693a1991341d067df55bbf2bec1124bddd/flake.nix#L147-L154 It would be really nice to add cross compilation...
This might be tricky to fix in a general way since it would require that: * The bin path be known when building the lib (likely to introduce a circular...