Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

go-ethereum: 1.8.26 -> 1.8.27

(cherry picked from commit c41784a321bdf119e75c2b83956f9347a2bc588a)

authored by

xrelkd and committed by
adisbladis
fe334ad0 70546dbd

+17 -5
+17 -5
pkgs/applications/altcoins/go-ethereum.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub, libobjc, IOKit }: 1 + { stdenv, buildGoPackage, fetchFromGitHub, libobjc, IOKit, fetchpatch }: 2 2 3 3 buildGoPackage rec { 4 - name = "go-ethereum-${version}"; 5 - version = "1.8.22"; 4 + pname = "go-ethereum"; 5 + version = "1.8.27"; 6 + 6 7 goPackagePath = "github.com/ethereum/go-ethereum"; 7 8 8 9 # Fix for usb-related segmentation faults on darwin ··· 12 13 # Fixes Cgo related build failures (see https://github.com/NixOS/nixpkgs/issues/25959 ) 13 14 hardeningDisable = [ "fortify" ]; 14 15 16 + # Apply ethereum/go-ethereum#19183 to fix the aarch64 build failure. 17 + # 18 + # TODO Remove this patch when upstream (https://github.com/ethereum/go-ethereum) 19 + # fix this problem in the future release. 20 + patches = [ 21 + (fetchpatch { 22 + url = "https://github.com/ethereum/go-ethereum/commit/39bd2609.patch"; 23 + sha256 = "1a362hzvcjk505hicv25kziy3c6s5an4j7rk4jibcxwgvygb3mz5"; 24 + }) 25 + ]; 26 + 15 27 src = fetchFromGitHub { 16 28 owner = "ethereum"; 17 - repo = "go-ethereum"; 29 + repo = pname; 18 30 rev = "v${version}"; 19 - sha256 = "0ag9qxrf7n0qkccaf6v4jaysivpxvsy5zfzar3mcm65223pqy375"; 31 + sha256 = "1640y7lqy7bvjjgx6wp0cnbw632ls5fj4ixclr819lfz4p5dfhx1"; 20 32 }; 21 33 22 34 meta = with stdenv.lib; {