From 5b01b0d316b65f7defac195cf360cf79f797903c Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Sun, 1 Apr 2018 17:26:32 +0200 Subject: [PATCH] buildGoPackage: default to 1.10 (default go version) This otherwise sometimes caused go builds to fail that were trying to build C ffi code. (expected type uint32, got type uint32 or similar) --- pkgs/top-level/all-packages.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8cf8e5588c83..f6ecddc7f13c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12101,8 +12101,11 @@ with pkgs; buildGo19Package = callPackage ../development/go-modules/generic { go = go_1_9; }; + buildGo110Package = callPackage ../development/go-modules/generic { + go = go_1_10; + }; - buildGoPackage = buildGo19Package; + buildGoPackage = buildGo110Package; go2nix = callPackage ../development/tools/go2nix { };