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

Regression: stackoverflow on nix 2.20 and 2.21 when running poetry2nix with a projectDir from a flake input #10496

Open
Atry opened this issue Apr 14, 2024 · 4 comments
Assignees
Labels
bug regression Something doesn't work anymore

Comments

@Atry
Copy link
Contributor

Atry commented Apr 14, 2024

Describe the bug

When running poetry2nix with a projectDir from a flake input, a stack overflow error is raised by nix 2.20 and 2.21, while nix 2.18 and 2.19 would not raise such an error.

Steps To Reproduce

  1. Install Nix 2.20 or later version
  2. Run nix build github:Atry/nix-2.20-crash

Now it failed to build with the following error message

[0.0 MiB DL] copying '/nix/store/0fvd8z4l32snmj9jmr3zky1aadmia0wr-source' to the storeerror: stack overflow (possible infinite recursion)

Expected behavior

Don't stack overflow

nix-env --version output

nix-env (Nix) 2.21.0

Additional context

Priorities

Add 👍 to issues you find important.

@Atry Atry added the bug label Apr 14, 2024
@Atry
Copy link
Contributor Author

Atry commented Apr 14, 2024

Workaround: using pkgs.fetchFromGitHub instead of flake inputs. See Atry/nix-2.20-crash@main...good

@Atry
Copy link
Contributor Author

Atry commented Apr 14, 2024

Maybe related to #9672

@Atry
Copy link
Contributor Author

Atry commented Apr 14, 2024

Maybe related to #10115 ?

@thufschmitt thufschmitt added the regression Something doesn't work anymore label Apr 15, 2024
@edolstra
Copy link
Member

Maybe related to #9672

Yeah, looks like it. This should be fixed by #10505.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug regression Something doesn't work anymore
Projects
None yet
Development

No branches or pull requests

3 participants