diff options
author | zowoq <59103226+zowoq@users.noreply.github.com> | 2020-11-02 15:24:25 +1000 |
---|---|---|
committer | zowoq <59103226+zowoq@users.noreply.github.com> | 2020-11-18 08:13:34 +1000 |
commit | 702c242558200447ce3d34ed256eac3741f4fd98 (patch) | |
tree | fcdc32926cda83513fe1b96b378f3ea334760f78 /pkgs/applications | |
parent | 11c19be426d82b5fc2f9ce27210f87955abf0efd (diff) |
quorum: workaround trimpath build failure
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/blockchains/quorum.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/applications/blockchains/quorum.nix b/pkgs/applications/blockchains/quorum.nix index 5a525dec99957..eb98777c587d9 100644 --- a/pkgs/applications/blockchains/quorum.nix +++ b/pkgs/applications/blockchains/quorum.nix @@ -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/"; |