Skip to content
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

Remove usage of impure variable builtins.currentSystem in eval.nix when using flakes #135

Merged
merged 1 commit into from
Feb 3, 2023

Conversation

oddlama
Copy link
Contributor

@oddlama oddlama commented Feb 1, 2023

In the warning for flakes which are using an uninitialized nixpkgs the builtin variable currentSystem is accessed, which is impure and leads to an error. This PR replaces the variable with a static hint.

Copy link
Owner

@zhaofengli zhaofengli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@zhaofengli zhaofengli merged commit 31d8240 into zhaofengli:main Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants