Describe the bug
I update my profile at my own pace by running nix registry pin nixpkgs && nix profile upgrade --all. At some point flake-regsitry.json was changed so that nixpkgs is now of type tarball. From that moment nix silently stopped updating the flake on nix registry pin, without any kind of warning.
I had to nix registry remove nixpkgs to fix the issue.
Steps To Reproduce
- Pin a registry entry
- Change the entry type (reproduced with type github → tarball)
- Try to re-pin it. It will stay on the previously pinned value.
Expected behavior
The locked url is updated to the new type and value, or at the very least a warning is issued.
Metadata
nix-env (Nix) 2.34.7
Additional context
Checklist
Add 👍 to issues you find important.
Describe the bug
I update my profile at my own pace by running
nix registry pin nixpkgs && nix profile upgrade --all. At some pointflake-regsitry.jsonwas changed so thatnixpkgsis now of type tarball. From that moment nix silently stopped updating the flake onnix registry pin, without any kind of warning.I had to
nix registry remove nixpkgsto fix the issue.Steps To Reproduce
Expected behavior
The locked url is updated to the new type and value, or at the very least a warning is issued.
Metadata
nix-env (Nix) 2.34.7
Additional context
Checklist
Add 👍 to issues you find important.