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
dockerTools: Pin go to 1.9 #35539
dockerTools: Pin go to 1.9 #35539
Conversation
pkgs/top-level/all-packages.nix
Outdated
@@ -121,7 +121,7 @@ with pkgs; | |||
|
|||
dieHook = makeSetupHook {} ../build-support/setup-hooks/die.sh; | |||
|
|||
dockerTools = callPackage ../build-support/docker { }; | |||
dockerTools = callPackage ../build-support/docker { go = go_1_9; }; |
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.
Can you also downgrade docker's go version and add this link as reference to both? moby/moby#35739
@Mic92 Good point. How does that look? :) |
This is the Go version that Docker currently uses: moby/moby#35739 Fixes NixOS#35505
This is the version used upstream, see: moby/moby#35739
@GrahamcOfBorg test docker |
Success on aarch64-linux (full log) Partial log (click to expand)
|
Success on x86_64-darwin (full log) Partial log (click to expand)
|
Success on aarch64-linux (full log) Partial log (click to expand)
|
Failure on x86_64-linux (full log) Partial log (click to expand)
|
Error is unrelated. x86_64 test runs fine locally. |
Success on x86_64-linux (full log) Partial log (click to expand)
|
That fixed all the docker tests, thanks. |
Motivation for this change
This is the Go version that Docker currently uses, so I think this is an acceptable way to fix #35505 until the upstream tarsum takes Go 1.10 into account.
Things done
Go pinned at 1.9 for dockerTools
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)