Skip to content

prefer-remote-fetch does not expose attributes for fetchers #467200

@fooker

Description

@fooker

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; }'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions