diff options
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/applications/blockchains/quorum.nix')
-rw-r--r-- | infra/libkookie/nixpkgs/pkgs/applications/blockchains/quorum.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/applications/blockchains/quorum.nix b/infra/libkookie/nixpkgs/pkgs/applications/blockchains/quorum.nix index 5a525dec9995..eb98777c587d 100644 --- a/infra/libkookie/nixpkgs/pkgs/applications/blockchains/quorum.nix +++ b/infra/libkookie/nixpkgs/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/"; |