-
Notifications
You must be signed in to change notification settings - Fork 232
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
How do I bump my hackage snapshot while using flakes? #1986
Labels
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Following these instructions, I've added/changed the following:
And within the outputs, I have this defined somewhere:
This is on a default flake, created via
nix flake init --template templates#haskell-nix --impure
.This results in the following error when running
nix develop
:I realized
builtins.currentSystem
doesn't work without--impure
, but isn't that against the flakes philoosphy?Also why is it even requiring me to run
nix develop --impure
in this case?At the end, this allows
nix develop
to successfully resolve, but it's still using the snapshot provided byhaskell.nix
itself.What is the proper way of bumping my hackage snapshot when using flakes? If needed, I can provide a reproducible example with an older haskell.nix pin to make it easier to see the issue I'm having
The text was updated successfully, but these errors were encountered: