Skip to content

Commit 34dece6

Browse files
committed
fix: pass to nix-update-script extraArgs with flake support
1 parent 1e043b8 commit 34dece6

File tree

23 files changed

+69
-23
lines changed

23 files changed

+69
-23
lines changed

pkgs/charon/default.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ buildGoModule rec {
2424

2525
subPackages = ["."];
2626

27-
passthru.updateScript = nix-update-script {};
27+
passthru.updateScript = nix-update-script {
28+
extraArgs = ["--flake"];
29+
};
2830

2931
meta = {
3032
description = "Charon (pronounced 'kharon') is a Proof of Stake Ethereum Distributed Validator Client";

pkgs/dirk/default.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ buildGoModule rec {
2323

2424
doCheck = false;
2525

26-
passthru.updateScript = nix-update-script {};
26+
passthru.updateScript = nix-update-script {
27+
extraArgs = ["--flake"];
28+
};
2729

2830
meta = {
2931
description = "An Ethereum 2 distributed remote keymanager, focused on security and long-term performance of signing operations";

pkgs/dreamboat/default.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ buildGoModule rec {
2323

2424
ldflags = ["-s" "-w"];
2525

26-
passthru.updateScript = nix-update-script {};
26+
passthru.updateScript = nix-update-script {
27+
extraArgs = ["--flake"];
28+
};
2729

2830
meta = {
2931
description = "An Ethereum 2.0 Relay for proposer-builder separation (PBS) with MEV-boost";

pkgs/eigenlayer/default.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ buildGoModule rec {
2020
ldflags = ["-s" "-w"];
2121
subPackages = ["cmd/eigenlayer"];
2222

23-
passthru.updateScript = nix-update-script {};
23+
passthru.updateScript = nix-update-script {
24+
extraArgs = ["--flake"];
25+
};
2426

2527
meta = with lib; {
2628
description = "Utility manages core operator functionalities like local key management, operator registration and updates";

pkgs/erigon/default.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ buildGoModule rec {
2929
ldflags = ["-extldflags \"-Wl,--allow-multiple-definition\""];
3030
inherit subPackages;
3131

32-
passthru.updateScript = nix-update-script {};
32+
passthru.updateScript = nix-update-script {
33+
extraArgs = ["--flake"];
34+
};
3335

3436
meta = {
3537
description = "Ethereum node implementation focused on scalability and modularity";

pkgs/eth2-testnet-genesis/default.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ buildGoModule rec {
2323

2424
ldflags = ["-s" "-w"];
2525

26-
passthru.updateScript = nix-update-script {};
26+
passthru.updateScript = nix-update-script {
27+
extraArgs = ["--flake"];
28+
};
2729

2830
meta = {
2931
description = "Create a genesis state for an Eth2 testnet";

pkgs/eth2-val-tools/default.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ buildGoModule rec {
2626

2727
doCheck = false;
2828

29-
passthru.updateScript = nix-update-script {};
29+
passthru.updateScript = nix-update-script {
30+
extraArgs = ["--flake"];
31+
};
3032

3133
meta = with lib; {
3234
description = "Some experimental tools to manage validators";

pkgs/ethdo/default.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ buildGoModule rec {
2626

2727
doCheck = false;
2828

29-
passthru.updateScript = nix-update-script {};
29+
passthru.updateScript = nix-update-script {
30+
extraArgs = ["--flake"];
31+
};
3032

3133
meta = with lib; {
3234
description = "A command-line tool for managing common tasks in Ethereum 2";

pkgs/ethereal/default.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ buildGoModule rec {
1919

2020
doCheck = false;
2121

22-
passthru.updateScript = nix-update-script {};
22+
passthru.updateScript = nix-update-script {
23+
extraArgs = ["--flake"];
24+
};
2325

2426
meta = with lib; {
2527
description = "A command-line tool for managing common tasks in Ethereum";

pkgs/geth-sealer/default.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ 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 {};
29+
passthru.updateScript = nix-update-script {
30+
extraArgs = ["--flake"];
31+
};
3032

3133
meta = with lib; {
3234
description = "Geth Sealer implementation";

0 commit comments

Comments
 (0)