Closed numinit closed 1 year ago
Fixed with some use of grep and sed. Is the value of not specifying a branch in a flake input documented somewhere clear? (i.e. does it use the default branch per github, which would make this compat issue go away?)
I should have known that renaming the branch would have broken something :face_with_spiral_eyes:
The best is to remove the /master
entirely, as flake will pick the default branch, just like git would.
Thanks!
Describe the bug
nix flake update on existing flakes is broken since branch rename to main
To Reproduce
inputs.flake-utils.url = github:numtide/flake-utils/master;
Expected behavior
Update functions
System information
NixOS 22.11
Additional context
This is a backwards compat issue as it breaks existing flake.nix that used master branch instead of main.