-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when running cabal build all of the master branch #223
Comments
I have not been able to reproduce the issue even using a fresh new VM using https://github.com/abailly-iohk/nix-haskell-dev-vm |
The nix caches setup is a bit different from the default as we are using a private cachix cache. I will try rebuilding everything without this custom cache. |
Even letting aside the
|
@fajard01 I suspect something else in your system is messing up with the dependencies. Have you separately built the plutus or plutus-apps repo, for example? My understanding is that although nix works hard towards making build isolated and reproducible, it's not 100% possible with cabal because the latter seems to insist on using per user dependencies cache in the |
Explicitly listing some local packages and not others means the latter one won't have their dependencies managed by haskell.nix which potentially leads to incompatibilities. Implicitly, all local packages have their dependencies managed by nix which should make the build more consistent.
I have built the plutus-apps repo without any issue and I haven't had a problem with the plutus-pioneer lectures whatsoever. Could it be that my plutus-apps branch interferes with the hydra branch? I shall play around with the cache and see if I can find a solution. I'm not on a VM but on a standalone Archlinux installation but i wouldn't think that matters. |
Explicitly listing some local packages and not others means the latter one won't have their dependencies managed by haskell.nix which potentially leads to incompatibilities. Implicitly, all local packages have their dependencies managed by nix which should make the build more consistent.
Yes all working! Thanks for the crisp reply. |
I've cloned the repository, setup my IOHK caches, then ran nix-shell after which I do a cabal update which all goes fine. However when I run cabal build all, I get this error:
Is there any fix? Everything in my system is up to date as well.
The text was updated successfully, but these errors were encountered: