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

pass Pos to forceValue to improve infinite recursion error #3502

Merged
merged 1 commit into from Apr 18, 2020

Conversation

domenkozar
Copy link
Member

@domenkozar domenkozar commented Apr 16, 2020

Fixes #3501

Before

$ nix-instantiate --strict foo.nix 
error: infinite recursion encountered, at undefined position

After

$ /nix/store/w2di83825csmkjcl6h8hr71vcrcw1vhr-nix-2.4pre0_0000000/bin/nix-instantiate --strict foo.nix 
error: infinite recursion encountered, at /nix/store/6hhlgwkrlfv97k14fvfckbi84n8s0vav-nixos-20.03beta1320.9f0f06ac8be/nixos/lib/fixed-points.nix:69:67

@domenkozar domenkozar merged commit 25ed842 into master Apr 18, 2020
@zimbatm zimbatm deleted the more-pos branch April 18, 2020 20:29
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.

infinite recursion encountered, at undefined position
1 participant