Skip to content

fix nix impurity - #4518

Merged
iohk-bors[bot] merged 1 commit into
masterfrom
purity
Nov 10, 2022
Merged

iohk-bors[bot] merged 1 commit into
masterfrom
purity

Conversation

@dermetfan

Copy link
Copy Markdown
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

@Jimbo4350 Jimbo4350 left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor Author

@Jimbo4350 Better now?

@dermetfan
dermetfan requested a review from Jimbo4350 November 9, 2022 18:48
There was access to impure builtins in the nix evaluation
so pure evaluation was not possible.
@dermetfan

Copy link
Copy Markdown
Contributor Author

bors merge

@iohk-bors

iohk-bors Bot commented Nov 10, 2022

Copy link
Copy Markdown
Contributor

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