Describe the bug
Since #12979 not only the behavior of locking is changed, but also the behavior of nix build and nix eval.
Steps To Reproduce
$ nix --version
nix (Nix) 2.28.1
$ nix registry add p nixpkgs
$ nix eval p#path
/nix/store/0d3h8gi2q46fb4l563h6pginjw2a90r4-source
$ nix --version
nix (Nix) 2.29.0pre20250418_f683a55
$ nix registry add p nixpkgs
$ nix eval p#path
error: cannot find flake 'flake:p' in the flake registries
Expected behavior
nix build and nix eval should also respect the user registry.
Metadata
Additional context
Checklist
Add 👍 to issues you find important.
Describe the bug
Since #12979 not only the behavior of locking is changed, but also the behavior of
nix buildandnix eval.Steps To Reproduce
Expected behavior
nix buildandnix evalshould also respect the user registry.Metadata
Additional context
Checklist
Add 👍 to issues you find important.