Skip to content

niv doesn't allow overriding the names of the download derivation #356

Open
@lf-

Description

Niv seems to hardcode names to things of format like *-nixpkgs-src according to a cursory reading of the file nix/sources.nix. This is problematic while interoperating with flakes, since if you put a path of any name except *-source as a "path" entry in the nix flake registry, it will be pointlessly copied on nearly every nix command run.

That limitation is filed upstream here: NixOS/nix#7075

It would be good to be able to override these names to workaround this Nix issue.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions