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

fix nix impurity #4518

Merged
merged 1 commit into from
Nov 10, 2022
Merged

fix nix impurity #4518

merged 1 commit into from
Nov 10, 2022

Conversation

dermetfan
Copy link
Contributor

builtins.currentSystem is not available in pure evaluation.

Discovered while working on IntersectMBO/cardano-db-sync#1280.

@Jimbo4350 Jimbo4350 self-requested a review November 9, 2022 18:27
Copy link
Contributor

@Jimbo4350 Jimbo4350 left a comment

Choose a reason for hiding this comment

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

@dermetfan can you update the commit message beyond "fix impurity"? Please include something that indicates this commit only touches the nix derivations.

@dermetfan
Copy link
Contributor Author

@Jimbo4350 Better now?

There was access to impure builtins in the nix evaluation
so pure evaluation was not possible.
@dermetfan
Copy link
Contributor Author

bors merge

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Nov 10, 2022

Build succeeded:

@iohk-bors iohk-bors bot merged commit 57161f7 into master Nov 10, 2022
@iohk-bors iohk-bors bot deleted the purity branch November 10, 2022 16:33
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.

3 participants