-
Notifications
You must be signed in to change notification settings - Fork 11
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
Following installation instructions leads to building GHC when entering nix-shell #73
Comments
Thanks for submitting the issue @abailly-iohk. That's weird. It really should not compile GHC. None of us had this problem either nor are nix-experts. It could be a pinning that is now different from what IOHK provides. I eventually want to switch to using flakes instead of niv, but I don't have the time to address this immediately, unfortunately. |
I just checked the logs from our CI and found GHC is being properly pulled from
|
Yeah, really I am at a loss. I will try again later on |
Maybe or maybe not related, but I see the log messages repeated twice:
|
And it's definitely trying to build GHC:
|
This path exists in my local nix sstore:
Why is it compiling some GHC then? |
I ended up waiting for the build to finish, and was able to build plutus-libs but of course entering the shell took ages 😬
I see the following derivations (among many others of course)
|
Don't know if that helps but here is a list of referrers on ghc-8.10.7
I can see that cabal 3.6.2.0 is there, could it be that the package is requiring a too recent cabal? |
Are you having this issue on a pure Also, it is worth mentioning solving #69 will trigger a much slimmer build process. I see that most of the upstream PRs needed to close that have been addressed, which means we might be able to tackle that soon! |
@abailly-iohk, I just had to reinstall nix on my machine and I tried pulling I think this could be the haskell-language-server; which our CI does not require... |
I have not tried it in a while, will retry on a fresh VM. Have you made any change? |
@abailly-iohk , it didn't change anything, so I didn't make any changes. I'm clueless as to why its bringing two GHCs but given that the environment works, I won't be looking into that. Also, I'm almost entirely certain that it did not build GHC since entering the nix-shell from a clean nix install took about 30 minutes, which is way too short to compile GHC. |
I am clueless on how to fix this, and it does not prevent building the plutus-libs so let's close. |
Describe the bug
git clone [email protected]:tweag/plutus-libs
thendirenv allow
Expected behavior
Environment
Linux haskell-dev-vm-1 5.13.0-1012-gcp #15-Ubuntu SMP Wed Jan 12 19:18:58 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Additional context
I am not a nix expert (actually, I hate nix :) ) but use it on a daily basis on the project I am working on without this kind of issue.
The text was updated successfully, but these errors were encountered: