Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Respect name attribute #74

Open
sefidel opened this issue Jan 23, 2023 · 0 comments
Open

Respect name attribute #74

sefidel opened this issue Jan 23, 2023 · 0 comments

Comments

@sefidel
Copy link

sefidel commented Jan 23, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant