Skip to content

Possible recursive-nix regression "<store path> already exists in the sandbox" #14529

@mightyiam

Description

@mightyiam

Describe the bug

$ nix flake check in this repo used to work with whatever Nix version I was using at the time. And with 2.32.2 it no longer passes, but fails with

error: store path '/nix/store/vj1c3wf9c11a0qs6p3ymfvrnsdgsdcbq-source-stdenv.sh' already exists in the sandbox

The checks that are failing make use of recursive-nix. Here is one of them.

Steps To Reproduce

Just run nix flake check in that repo.

Expected behavior

Would be great if in a future version of Nix these flake checks pass again.
Alternatively, if the checks are somehow erroneous, I'd appreciate a pointer on that.

Metadata

Additional context

Checklist


Add 👍 to issues you find important

@shivaraj-bh

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugrecursive-nixThe recursive-nix experimental featureregressionSomething doesn't work anymore

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions