-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
Overriding user-agent used by fetchurl #90034
Comments
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/how-to-set-user-agent-for-fetchurl/7392/2 |
I'm not sure this can be worked around with the way fetchurl is currently implemented: https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/fetchurl/builder.sh#L20 This could be avoided with the help of structuredAttrs, but that work isn't complete yet. |
shouldn't be enough to just add quotes around
|
[replying to myself] obviously not. since then the two strings in |
I marked this as stale due to inactivity. → More info |
Still important. |
Probably duplicate of #41820. |
Duplicate of #41820 |
Describe the bug
I'm trying to override User-Agent header used by fetchurl (#17757) using:
That leads to:
That's caused by whitespaces in the 'Mac OS X' string, otherwise it works correctly (e.g. with 'Mac_OS_X').
The text was updated successfully, but these errors were encountered: