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
When you have an input with the protocol: git+file and then run nix flake update it'll take a long time, if the repo actually changed. In my case almost 2 minutes. I'm also passing a branch name with ?ref.
Steps To Reproduce
make a flake with a git repo as an input, and specify an arbitrary branch
run nix flake update
It takes quite some time to get the latest commit
Expected behavior
Should be near instant, as there's no network roundtrip nor a lot of data that has to be read from the disk.
Additional context
The input in my example is the nixpkgs repo, maybe it has something to do with that the repo is huge... haven't tried smaller ones yet
The text was updated successfully, but these errors were encountered:
Describe the bug
When you have an input with the protocol:
git+file
and then run nix flake update it'll take a long time, if the repo actually changed. In my case almost 2 minutes. I'm also passing a branch name with ?ref.Steps To Reproduce
Expected behavior
Should be near instant, as there's no network roundtrip nor a lot of data that has to be read from the disk.
nix-env --version
outputAdditional context
The input in my example is the nixpkgs repo, maybe it has something to do with that the repo is huge... haven't tried smaller ones yet
The text was updated successfully, but these errors were encountered: