Skip to content

nix edit is broken on master #9652

@thufschmitt

Description

@thufschmitt

Describe the bug

nix edit fails on master with error: cannot open '<path to the Nix file>' in an editor because it has no physical path.

The file does exist, and the same command on Nix 2.19 succeeds.

Steps To Reproduce

$ nix run github:NixOS/nix/8e64cd59b0fe1a4e1d3ba8d359ea0f9af2936f94 -- edit nixpkgs#hello
error: cannot open '/nix/store/n0c1l1jpyvhmyp6lqpf5wrf4hnalpc72-source/pkgs/by-name/he/hello/package.nix' in an editor because it has no physical path

Expected behavior

Should open the relevant file

nix-env --version output

Additional context

Add any other context about the problem here.

Priorities

Add 👍 to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfetchingNetworking with the outside (non-Nix) world, input lockingregressionSomething doesn't work anymore

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions