You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nix/flake: fix Ref.String() for github flakes w/ rev and ref (#2467)
The string form of GitHub flakeref can only have a rev or a ref, not
both. For example:
- Good: `github:NixOS/nixpkgs/b321c8e818546d5491ee5611476500557b880856`
- Good: `github:NixOS/nixpkgs/nixpkgs-unstable`
- Bad:
`github:NixOS/nixpkgs/nixpkgs-unstable/b321c8e818546d5491ee5611476500557b880856`
If both the Rev and Ref fields are set, use Rev.
0 commit comments