Merge master into staging-next

This commit is contained in:
github-actions[bot]
2021-01-23 12:40:13 +00:00
committed by GitHub
365 changed files with 2120 additions and 1803 deletions
+4 -4
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, tzdata, iana-etc, runCommand
{ lib, stdenv, fetchurl, tzdata, iana-etc, runCommand
, perl, which, pkg-config, patch, procps, pcre, cacert, Security, Foundation
, mailcap, runtimeShell
, buildPackages
@@ -8,7 +8,7 @@
let
inherit (stdenv.lib) optionals optionalString;
inherit (lib) optionals optionalString;
goBootstrap = runCommand "go-bootstrap" {} ''
mkdir $out
@@ -180,7 +180,7 @@ stdenv.mkDerivation rec {
else
null;
GOARM = toString (stdenv.lib.intersectLists [(stdenv.hostPlatform.parsed.cpu.version or "")] ["5" "6" "7"]);
GOARM = toString (lib.intersectLists [(stdenv.hostPlatform.parsed.cpu.version or "")] ["5" "6" "7"]);
GO386 = 387; # from Arch: don't assume sse2 on i686
CGO_ENABLED = 1;
# Hopefully avoids test timeouts on Hydra
@@ -247,7 +247,7 @@ stdenv.mkDerivation rec {
disallowedReferences = [ goBootstrap ];
meta = with stdenv.lib; {
meta = with lib; {
homepage = "http://golang.org/";
description = "The Go Programming language";
license = licenses.bsd3;