Skip to content

Respect name attribute #74

Description

@sefidel

The program exits with the following error when a URL contains one of the illegal characters:

Error: nix-prefetch-url failed with exit code 1 and error output:
error: store path '3pfh7wgbx70q9b9kvb04nphn6bvvp2s7-osu!install.exe' contains illegal character '!'

Error: Output from nix-prefetch-url is invalid:
""

To mitigate this issue, Nix has introduced --name option to nix-prefetch-url.

It would be nice to supply --name when the attribute exists in the provided Nix file.

Metadata

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