Skip to content

Commit

Permalink
go: apply upstream patch
Browse files Browse the repository at this point in the history
This should fix the tests almost always failing on Hydra for i686.
  • Loading branch information
vcunat committed Oct 9, 2019
1 parent bf56c15 commit d8218de
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkgs/development/compilers/go/1.12.nix
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, tzdata, iana-etc, runCommand
{ stdenv, fetchurl, fetchpatch, tzdata, iana-etc, runCommand
, perl, which, pkgconfig, patch, procps, pcre, cacert, Security, Foundation
, mailcap, runtimeShell
, buildPackages, pkgsTargetTarget
Expand Down Expand Up @@ -137,6 +137,11 @@ stdenv.mkDerivation rec {
./skip-nohup-tests.patch
# breaks under load: https://github.com/golang/go/issues/25628
./skip-test-extra-files-on-386.patch
(fetchpatch { # probably included in >= 1.12.10
url = "https://github.com/golang/go/commit/aae0b5b0b.diff";
name = "TestGcSys-too-much-memory.diff";
sha256 = "1bl9d2pl6n99n9g65cq91sygmp1iva5rmrxbprwn4xd0ql36psa8";
})
];

postPatch = ''
Expand Down

0 comments on commit d8218de

Please sign in to comment.