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
fetchurl: warn on rev archives, resolves #32999 #48325
fetchurl: warn on rev archives, resolves #32999 #48325
Conversation
@grahamc Has Either way, I've applied your feedback. Now it prints |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both fetchzip
and fetchFromGitThing
should continue to be usable in similar situations IMHO. That's not really an issue and it gives regular contributors some space for personal preferences.
The real issue is not letting someone use fetchurl
and I think the warning message here is clear enough and to the point.
Basically saying "fetchurl no -> fetchFromGitHub/Lab yes" leaves no room for confusion.
The fetchzip
alternative can still be mentioned later in a PR review process if relevant.
@grahamc Does it look good to you now? |
@grahamc Ping! |
@GrahamcOfBorg eval |
Thank you for the ping, sorry! |
This is totally misleading warning.
I could say that Anyway, |
Motivation for this change
Resolves #32999. cc @c0bw3b @orivej @vcunat
Usage example:
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)