Some fetchers, like fetchgit expose additional attributes (fetchgit.getRevWithTag). When the prefer-remote-fetch overlay is applied, these attributes are no longer exposed.
The only usage I know of is fetchFromGitHub when fetchgit is used internally.
Steps to reproduce
nix-build -E '(import <nixpkgs> { overlays = [(self: super: super.prefer-remote-fetch self super)]; }).fetchFromGitHub { owner = "NixOS"; repo = "nixpkgs"; rev = "b4f59db7583ec331051831a679eda8f3b5c62c24"; forceFetchGit = true; }'
Some fetchers, like
fetchgitexpose additional attributes (fetchgit.getRevWithTag). When theprefer-remote-fetchoverlay is applied, these attributes are no longer exposed.The only usage I know of is
fetchFromGitHubwhenfetchgitis used internally.Steps to reproduce
nix-build -E '(import <nixpkgs> { overlays = [(self: super: super.prefer-remote-fetch self super)]; }).fetchFromGitHub { owner = "NixOS"; repo = "nixpkgs"; rev = "b4f59db7583ec331051831a679eda8f3b5c62c24"; forceFetchGit = true; }'