diff options
author | zowoq <59103226+zowoq@users.noreply.github.com> | 2020-07-31 15:16:47 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-31 15:16:47 +1000 |
commit | e703f3f34bb36590004c38143022dac29ead0257 (patch) | |
tree | 8c2a272827f488ac5fc809d3ac4fb430df22a7f6 /pkgs/applications/blockchains | |
parent | baca1baa4316ff1f5fcf93aad5395052b9f37798 (diff) | |
parent | 96908e43411c3146365de71e006303c5d70a76e3 (diff) |
Merge pull request #89453 from c00w/vend
Add vend support to go-modules
Diffstat (limited to 'pkgs/applications/blockchains')
-rw-r--r-- | pkgs/applications/blockchains/go-ethereum.nix | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/pkgs/applications/blockchains/go-ethereum.nix b/pkgs/applications/blockchains/go-ethereum.nix index 421acfef6ba10..0edeccf4003c9 100644 --- a/pkgs/applications/blockchains/go-ethereum.nix +++ b/pkgs/applications/blockchains/go-ethereum.nix @@ -11,21 +11,8 @@ buildGoModule rec { sha256 = "0nkzwmrzk0m9662cr18h5i54v07mw8v3fh0csvqx8n50z5fcvb7b"; }; - usb = fetchFromGitHub { - owner = "karalabe"; - repo = "usb"; - rev = "911d15fe12a9c411cf5d0dd5635231c759399bed"; - sha256 = "0asd5fz2rhzkjmd8wjgmla5qmqyz4jaa6qf0n2ycia16jsck6wc2"; - }; - - vendorSha256 = "13wh6r9zi5qw72xkbzy3mcgn7lv9l981x4lniypjbnkwhq2dj5iz"; - - overrideModAttrs = (_: { - postBuild = '' - cp -r --reflink=auto ${usb}/libusb vendor/github.com/karalabe/usb - cp -r --reflink=auto ${usb}/hidapi vendor/github.com/karalabe/usb - ''; - }); + runVend = true; + vendorSha256 = "1744df059bjksvih4653nnvb4kb1xvzdhypd0nnz36m1wrihqssv"; subPackages = [ "cmd/abidump" |