From eb31dc6316e2524a50595bb40cb5cc156261756f Mon Sep 17 00:00:00 2001 From: adisbladis Date: Wed, 11 Jul 2018 20:40:14 +0800 Subject: [PATCH] go-ethereum: Use standard buildGoPackage outputs buildGoPackage no longer copy sources to $out --- pkgs/applications/altcoins/go-ethereum.nix | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/pkgs/applications/altcoins/go-ethereum.nix b/pkgs/applications/altcoins/go-ethereum.nix index 74d38b59fc2..79c8e0dfde8 100644 --- a/pkgs/applications/altcoins/go-ethereum.nix +++ b/pkgs/applications/altcoins/go-ethereum.nix @@ -12,17 +12,6 @@ buildGoPackage rec { # Fixes Cgo related build failures (see https://github.com/NixOS/nixpkgs/issues/25959 ) hardeningDisable = [ "fortify" ]; - # Only install binaries in $out, source is not interesting and takes ~50M - outputs = [ "out" ]; - preFixup = '' - export bin="''${out}" - ''; - installPhase = '' - mkdir -p $out/bin $out - dir="$NIX_BUILD_TOP/go/bin" - [ -e "$dir" ] && cp -r $dir $out - ''; - src = fetchFromGitHub { owner = "ethereum"; repo = "go-ethereum";