Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: f96e4edb1777
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: acde126002cc
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jul 5, 2017

  1. go-ethereum: 1.4.7 -> 1.6.6

    dbrock committed Jul 5, 2017
    Copy the full SHA
    69a8564 View commit details

Commits on Jul 7, 2017

  1. Merge pull request #27149 from dbrock/go-ethereum

    go-ethereum: 1.4.7 -> 1.6.6
    Mic92 authored Jul 7, 2017
    Copy the full SHA
    acde126 View commit details
Showing with 6 additions and 17 deletions.
  1. +6 −17 pkgs/applications/altcoins/go-ethereum.nix
23 changes: 6 additions & 17 deletions pkgs/applications/altcoins/go-ethereum.nix
Original file line number Diff line number Diff line change
@@ -1,31 +1,20 @@
{ stdenv, lib, go, fetchgit }:
{ stdenv, lib, clang, buildGoPackage, fetchgit }:

stdenv.mkDerivation rec {
buildGoPackage rec {
name = "go-ethereum-${version}";
version = "1.4.7";
version = "1.6.6";
rev = "refs/tags/v${version}";
goPackagePath = "github.com/ethereum/go-ethereum";

buildInputs = [ go ];
buildInputs = [ clang ];
preBuild = "export CC=clang";

src = fetchgit {
inherit rev;
url = "https://${goPackagePath}";
sha256 = "19q518kxkvrr44cvsph4wv3lr6ivqsckz1f22r62932s3sq6gyd8";
sha256 = "066s7fp9pbyq670xwnib4p7zaxs941r9kpvj2hm6bkr28yrpvp1a";
};

buildPhase = ''
export GOROOT=$(mktemp -d --suffix=-goroot)
ln -sv ${go}/share/go/* $GOROOT
ln -svf ${go}/bin $GOROOT
make all
'';

installPhase = ''
mkdir -p $out/bin
cp -v build/bin/* $out/bin
'';

meta = {
homepage = "https://ethereum.github.io/go-ethereum/";
description = "Official golang implementation of the Ethereum protocol";