Skip to content

Commit 446bbd3

Browse files
committed
feat: add support to nix-update-script to all go binaries
1 parent 6521643 commit 446bbd3

File tree

22 files changed

+74
-13
lines changed

22 files changed

+74
-13
lines changed

pkgs/charon/default.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
buildGoModule,
44
fetchFromGitHub,
55
mcl,
6+
nix-update-script,
67
}:
78
buildGoModule rec {
89
pname = "charon";
@@ -23,6 +24,8 @@ buildGoModule rec {
2324

2425
subPackages = ["."];
2526

27+
passthru.updateScript = nix-update-script {};
28+
2629
meta = {
2730
description = "Charon (pronounced 'kharon') is a Proof of Stake Ethereum Distributed Validator Client";
2831
homepage = "https://github.com/ObolNetwork/charon";

pkgs/dirk/default.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
fetchFromGitHub,
44
mcl,
55
bls,
6+
nix-update-script,
67
}:
78
buildGoModule rec {
89
pname = "dirk";
@@ -22,6 +23,8 @@ buildGoModule rec {
2223

2324
doCheck = false;
2425

26+
passthru.updateScript = nix-update-script {};
27+
2528
meta = {
2629
description = "An Ethereum 2 distributed remote keymanager, focused on security and long-term performance of signing operations";
2730
homepage = "https://github.com/attestantio/dirk";

pkgs/dreamboat/default.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
blst,
33
buildGoModule,
44
fetchFromGitHub,
5+
nix-update-script,
56
}:
67
buildGoModule rec {
78
pname = "dreamboat";
@@ -22,6 +23,8 @@ buildGoModule rec {
2223

2324
ldflags = ["-s" "-w"];
2425

26+
passthru.updateScript = nix-update-script {};
27+
2528
meta = {
2629
description = "An Ethereum 2.0 Relay for proposer-builder separation (PBS) with MEV-boost";
2730
homepage = "https://github.com/blocknative/dreamboat";

pkgs/eigenlayer/default.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
lib,
33
buildGoModule,
44
fetchFromGitHub,
5+
nix-update-script,
56
}:
67
buildGoModule rec {
78
pname = "eigenlayer";
@@ -19,6 +20,8 @@ buildGoModule rec {
1920
ldflags = ["-s" "-w"];
2021
subPackages = ["cmd/eigenlayer"];
2122

23+
passthru.updateScript = nix-update-script {};
24+
2225
meta = with lib; {
2326
description = "Utility manages core operator functionalities like local key management, operator registration and updates";
2427
homepage = "https://www.eigenlayer.xyz/";

pkgs/erigon/default.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
buildGoModule,
33
fetchFromGitHub,
4+
nix-update-script,
45
subPackages ? ["cmd/erigon" "cmd/evm" "cmd/rpcdaemon" "cmd/rlpdump"],
56
}:
67
buildGoModule rec {
@@ -28,6 +29,8 @@ buildGoModule rec {
2829
ldflags = ["-extldflags \"-Wl,--allow-multiple-definition\""];
2930
inherit subPackages;
3031

32+
passthru.updateScript = nix-update-script {};
33+
3134
meta = {
3235
description = "Ethereum node implementation focused on scalability and modularity";
3336
homepage = "https://github.com/ledgerwatch/erigon/";

pkgs/eth2-testnet-genesis/default.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
bls,
33
buildGoModule,
44
fetchFromGitHub,
5+
nix-update-script,
56
}:
67
buildGoModule rec {
78
pname = "eth2-testnet-genesis";
@@ -22,6 +23,8 @@ buildGoModule rec {
2223

2324
ldflags = ["-s" "-w"];
2425

26+
passthru.updateScript = nix-update-script {};
27+
2528
meta = {
2629
description = "Create a genesis state for an Eth2 testnet";
2730
homepage = "https://github.com/protolambda/eth2-testnet-genesis";

pkgs/eth2-val-tools/default.nix

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2+
bls,
23
buildGoModule,
3-
fetchFromGitHub,
44
clang,
5-
mcl,
6-
bls,
5+
fetchFromGitHub,
76
lib,
8-
...
7+
mcl,
8+
nix-update-script,
99
}:
1010
buildGoModule rec {
1111
pname = "eth2-val-tools";
@@ -26,6 +26,8 @@ buildGoModule rec {
2626

2727
doCheck = false;
2828

29+
passthru.updateScript = nix-update-script {};
30+
2931
meta = with lib; {
3032
description = "Some experimental tools to manage validators";
3133
homepage = "https://github.com/protolambda/eth2-val-tools";

pkgs/ethdo/default.nix

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2+
bls,
23
buildGoModule,
3-
fetchFromGitHub,
44
clang,
5-
mcl,
6-
bls,
5+
fetchFromGitHub,
76
lib,
8-
...
7+
mcl,
8+
nix-update-script,
99
}:
1010
buildGoModule rec {
1111
pname = "ethdo";
@@ -26,6 +26,8 @@ buildGoModule rec {
2626

2727
doCheck = false;
2828

29+
passthru.updateScript = nix-update-script {};
30+
2931
meta = with lib; {
3032
description = "A command-line tool for managing common tasks in Ethereum 2";
3133
homepage = "https://github.com/wealdtech/ethdo";

pkgs/ethereal/default.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
buildGoModule,
33
fetchFromGitHub,
44
lib,
5-
...
5+
nix-update-script,
66
}:
77
buildGoModule rec {
88
pname = "ethereal";
@@ -19,6 +19,8 @@ buildGoModule rec {
1919

2020
doCheck = false;
2121

22+
passthru.updateScript = nix-update-script {};
23+
2224
meta = with lib; {
2325
description = "A command-line tool for managing common tasks in Ethereum";
2426
homepage = "https://github.com/wealdtech/ethereal/";

pkgs/geth-sealer/default.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
buildGoModule,
33
fetchFromGitHub,
44
lib,
5-
...
5+
nix-update-script,
66
}:
77
buildGoModule rec {
88
pname = "geth-sealer";
@@ -26,6 +26,8 @@ buildGoModule rec {
2626
# Following upstream: https://github.com/ethereum/go-ethereum/blob/v1.10.23/build/ci.go#L218
2727
tags = ["urfave_cli_no_docs"];
2828

29+
passthru.updateScript = nix-update-script {};
30+
2931
meta = with lib; {
3032
description = "Geth Sealer implementation";
3133
homepage = "https://github.com/manifoldfinance/geth-sealer";

0 commit comments

Comments
 (0)