From 95c5a17c26fa53523da924eae2f95f6a65f263d1 Mon Sep 17 00:00:00 2001 From: Jeremy Schlatter Date: Thu, 11 Jul 2024 17:05:44 -0700 Subject: [PATCH] go-ethereum: set `meta.mainProgram = "geth"` This lets `nix run nixpkgs#go-ethereum` do something useful, namely run geth. --- pkgs/applications/blockchains/go-ethereum/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/blockchains/go-ethereum/default.nix b/pkgs/applications/blockchains/go-ethereum/default.nix index adf818a52ffd..ec40f92fab37 100644 --- a/pkgs/applications/blockchains/go-ethereum/default.nix +++ b/pkgs/applications/blockchains/go-ethereum/default.nix @@ -60,5 +60,6 @@ in buildGoModule rec { description = "Official golang implementation of the Ethereum protocol"; license = with licenses; [ lgpl3Plus gpl3Plus ]; maintainers = with maintainers; [ RaghavSood ]; + mainProgram = "geth"; }; }