Skip to content

builtins.fetchGit requires git #3533

@zoranbosnjak

Description

@zoranbosnjak

When using builtins.fetchGit, the nix-build command won't work if:

  • git program is not installed on the system
  • or is installed but is too old (flag -C <path> is not supported)

I am testing on non-nix linux distributions.

This does not look right. The builtins.fetchGit obviously depends on the correct version of the git program. I would expect that nix would build/download git automatically when required and the correct version is used, even if some other version is installed on the system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions