From 8178d877ac3cd0a97176d50ca89ce1c2d9406ca4 Mon Sep 17 00:00:00 2001 From: Ben Wolsieffer Date: Tue, 2 Mar 2021 19:51:05 -0500 Subject: [PATCH] go: fix bootstrapping on 32-bit ARM On 32-bit ARM, the wrong name was used for the prebuilt bootstrap tarball, causing an eval failure. --- pkgs/development/compilers/go/binary.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/go/binary.nix b/pkgs/development/compilers/go/binary.nix index 9a0dc343546..7eb8f8f7b98 100644 --- a/pkgs/development/compilers/go/binary.nix +++ b/pkgs/development/compilers/go/binary.nix @@ -8,8 +8,8 @@ let "i686" = "386"; "x86_64" = "amd64"; "aarch64" = "arm64"; - "armv6l" = "arm"; - "armv7l" = "arm"; + "armv6l" = "armv6l"; + "armv7l" = "armv6l"; "powerpc64le" = "ppc64le"; }.${platform.parsed.cpu.name} or (throw "Unsupported CPU ${platform.parsed.cpu.name}");