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
Backport netrc-file option to 1.11 #1259
Conversation
+1 |
@shlevy hmm... this doesn't work. It looks like the
|
src/libstore/globals.hh
Outdated
@@ -210,6 +210,10 @@ struct Settings { | |||
build settings */ | |||
Path preBuildHook; | |||
|
|||
/* Path to the | |||
downloads. */ |
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.
The what?
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.
Fixed, thanks
@k0001 Did you patch your daemon? |
Ah, I see the issue, one sec |
@k0001 Can you try again? |
@shlevy now |
At what stage? Can you share output? |
@shlevy check this output from
Trying to manually download that same url using |
@k0001 fixed |
I'm kind of reluctant to put new features in a maintenance branch. |
This is a pretty important security feature and there is no timeline for |
In general, I think we should either allow some backported features in maintenance branches or new releases must be made more frequently. Doing neither cause frustration. EDIT: can cause -> cause :-) |
Yes 🎉 ! @shlevy this works now! I tried as root, and as normal user, with the default @edolstra I don't consider this to be a new feature, but rather a fix to a security flaw present in the current |
@edolstra We are going to need to maintain a fork of nix if this doesn't get in... I don't understand the hesitation here. |
@shlevy, think it's in |
@dmjio Yes, but |
Thanks!! |
I thought this would deal with all kinds of URL fetching, but looks like I was wrong. Worked around with EDIT: Fix NIX_CURL_OPTS -> NIX_CURL_FLAGS |
No description provided.