pkgsMusl.go: bootstrap with gccgo (#207681)

This commit is contained in:
Yureka 2023-01-20 18:04:58 +01:00 committed by GitHub
parent 33b9e537c7
commit e72146804a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View file

@ -17,7 +17,7 @@
}:
let
goBootstrap = buildPackages.callPackage ./bootstrap116.nix { };
goBootstrap = if stdenv.buildPlatform.isMusl then buildPackages.gccgo else buildPackages.callPackage ./bootstrap116.nix { };
skopeoTest = skopeo.override { buildGoModule = buildGo118Module; };
@ -113,7 +113,7 @@ stdenv.mkDerivation rec {
GO386 = "softfloat"; # from Arch: don't assume sse2 on i686
CGO_ENABLED = 1;
GOROOT_BOOTSTRAP = "${goBootstrap}/share/go";
GOROOT_BOOTSTRAP = if stdenv.buildPlatform.isMusl then goBootstrap else "${goBootstrap}/share/go";
buildPhase = ''
runHook preBuild

View file

@ -17,7 +17,7 @@
}:
let
goBootstrap = buildPackages.callPackage ./bootstrap116.nix { };
goBootstrap = if stdenv.buildPlatform.isMusl then buildPackages.gccgo else buildPackages.callPackage ./bootstrap116.nix { };
skopeoTest = skopeo.override { buildGoModule = buildGo119Module; };
@ -113,7 +113,7 @@ stdenv.mkDerivation rec {
GO386 = "softfloat"; # from Arch: don't assume sse2 on i686
CGO_ENABLED = 1;
GOROOT_BOOTSTRAP = "${goBootstrap}/share/go";
GOROOT_BOOTSTRAP = if stdenv.buildPlatform.isMusl then goBootstrap else "${goBootstrap}/share/go";
buildPhase = ''
runHook preBuild

View file

@ -17,7 +17,7 @@
}:
let
goBootstrap = buildPackages.callPackage ./bootstrap117.nix { };
goBootstrap = if stdenv.buildPlatform.isMusl then buildPackages.gccgo else buildPackages.callPackage ./bootstrap117.nix { };
skopeoTest = skopeo.override { buildGoModule = buildGo120Module; };
@ -113,7 +113,7 @@ stdenv.mkDerivation rec {
GO386 = "softfloat"; # from Arch: don't assume sse2 on i686
CGO_ENABLED = 1;
GOROOT_BOOTSTRAP = "${goBootstrap}/share/go";
GOROOT_BOOTSTRAP = if stdenv.buildPlatform.isMusl then goBootstrap else "${goBootstrap}/share/go";
buildPhase = ''
runHook preBuild