Open zmrocze opened 1 month ago
ties in with #311
this happens for me on aarch64-darwin while it doesn't happen on x86_64-linux. here's where you can find the code: https://github.com/MangoIV/cabal-audit/pull/29/commits/bc82249379011b0ac0229d470bf50ad76c18e5a7
not using the devShell generated by the haskell shellFor function via devshell fixes the problem...
Describe the bug
Given:
The
default
shell fails to build eventhough the originalhaskell
shell builds. Thedefault
shell is empty otherwise and doesn't define any additional commands or dependencies.Steps To Reproduce
Reproduction exists in the flake: https://github.com/zmrocze/reproduce-haskell.nix-template-shell-doesnt-build. Run:
and observe a failed build with:
Then change
default
tohaskell
and observe a success, eventhough I expect shells to be the same.Expected behavior
I expect the
default
shell to functionally the same as thehaskell
shell from which it originates. I wouldn't expect an error of this kind.