Open
Description
Describe the bug
nix-prefetch-url
re-downloads the same remote object every time, because it doesn't use the fetcher cache.
Steps To Reproduce
nix-prefetch-url https://github.com/NixOS/nix/archive/refs/heads/master.zip
nix-prefetch-url https://github.com/NixOS/nix/archive/refs/heads/master.zip
Expected behavior
The second invocation does not require a download. But as you observe, it currently does.
Additional context
This is an issue for tools like npins: andir/npins#57
Priorities
Add 👍 to issues you find important.