-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
go: Fix the build in non-root sandboxes #144398
Conversation
Maybe we want to throw that on staging? |
Is this only an issue with |
I actually didn’t try it with other go versions, but I guess it would need to be ported here as well since the upstream bug is still open |
Will this be merged? One of my builds is also affected by this. Thanks |
The same needs to be applied to go 1.17 and we should target staging because this change is not very important and does not need to trigger so many rebuilds on master. |
Just chiming in to say im affacted by this too. Running nix on ubuntu 20.04, if that matters. |
@ofborg build go_1_17 |
I added the patch to the go 1.18 PR in #157650 so it doesn't get overlooked. I'll rebase this after the patch lands in staging and merge. |
Workaround for <golang/go#42525> (Also related to <NixOS/nix#3245>)
@jonringer Can I squeeze this into the new |
I just started this, 5 mins before you posted :( |
I was waiting for the merge action to push the patch from master to staging when I saw you do it manually. 😆 This waited a couple of months until I picked it up, it can wait until the next cycle. |
Motivation for this change
Workaround for golang/go#42525
(Also related to NixOS/nix#3245)
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)