forked from mirrors/nixpkgs
quorum: workaround trimpath build failure
This commit is contained in:
parent
11c19be426
commit
702c242558
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchFromGitHub, buildGoPackage, git, which }:
|
||||
{ stdenv, fetchFromGitHub, buildGoPackage, git, which, removeReferencesTo, go }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "quorum";
|
||||
|
@ -25,6 +25,12 @@ buildGoPackage rec {
|
|||
cp -v build/bin/geth build/bin/bootnode build/bin/swarm $out/bin
|
||||
'';
|
||||
|
||||
# fails with `GOFLAGS=-trimpath`
|
||||
allowGoReference = true;
|
||||
preFixup = ''
|
||||
find $out -type f -exec ${removeReferencesTo}/bin/remove-references-to -t ${go} '{}' +
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A permissioned implementation of Ethereum supporting data privacy";
|
||||
homepage = "https://www.goquorum.com/";
|
||||
|
|
Loading…
Reference in a new issue