mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03:00
go-1.6: fix segfault when using musl
See https://github.com/golang/go/issues/14476
This commit is contained in:
parent
9289d383e2
commit
c18106a223
@ -1,5 +1,5 @@
|
||||
{ stdenv, lib, fetchurl, tzdata, iana_etc, go_1_4, runCommand
|
||||
, perl, which, pkgconfig, patch
|
||||
, perl, which, pkgconfig, patch, fetchpatch
|
||||
, pcre
|
||||
, Security, Foundation }:
|
||||
|
||||
@ -96,6 +96,12 @@ stdenv.mkDerivation rec {
|
||||
|
||||
patches = [
|
||||
./remove-tools-1.5.patch
|
||||
# Fix bug when using musl (see https://github.com/golang/go/issues/14476)
|
||||
# Should be fixed by go 1.6.1
|
||||
(fetchpatch {
|
||||
url = "https://github.com/golang/go/commit/1439158120742e5f41825de90a76b680da64bf76.patch";
|
||||
sha256 = "0yixpbx056ns5wgd3f4absgiyc2ymmqk8mkhhz5ja90dvilzxcwd";
|
||||
})
|
||||
]
|
||||
# -ldflags=-s is required to compile on Darwin, see
|
||||
# https://github.com/golang/go/issues/11994
|
||||
|
Loading…
Reference in New Issue
Block a user