diff options
author | Fabian Möller <fabianm88@gmail.com> | 2022-01-23 21:08:10 +0100 |
---|---|---|
committer | Fabian Möller <fabianm88@gmail.com> | 2022-01-23 21:08:10 +0100 |
commit | 4329d79dbab9f9ae6654c59ac428b8935eb7f7c5 (patch) | |
tree | 5b185c93081c8667de8a7cbf7bd21f6a019761fe /pkgs/applications/blockchains/go-ethereum/default.nix | |
parent | fd6b95db2263e80269834e2508302de4aed025d7 (diff) | |
download | nixpkgs-4329d79dbab9f9ae6654c59ac428b8935eb7f7c5.tar nixpkgs-4329d79dbab9f9ae6654c59ac428b8935eb7f7c5.tar.gz nixpkgs-4329d79dbab9f9ae6654c59ac428b8935eb7f7c5.tar.bz2 nixpkgs-4329d79dbab9f9ae6654c59ac428b8935eb7f7c5.tar.lz nixpkgs-4329d79dbab9f9ae6654c59ac428b8935eb7f7c5.tar.xz nixpkgs-4329d79dbab9f9ae6654c59ac428b8935eb7f7c5.tar.zst nixpkgs-4329d79dbab9f9ae6654c59ac428b8935eb7f7c5.zip |
nixos/tests: link tests to their packages
Diffstat (limited to 'pkgs/applications/blockchains/go-ethereum/default.nix')
-rw-r--r-- | pkgs/applications/blockchains/go-ethereum/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/blockchains/go-ethereum/default.nix b/pkgs/applications/blockchains/go-ethereum/default.nix index a934589e687..3aa3f622024 100644 --- a/pkgs/applications/blockchains/go-ethereum/default.nix +++ b/pkgs/applications/blockchains/go-ethereum/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, buildGoModule, fetchFromGitHub, libobjc, IOKit }: +{ lib, stdenv, buildGoModule, fetchFromGitHub, libobjc, IOKit, nixosTests }: let # A list of binaries to put into separate outputs @@ -50,6 +50,8 @@ in buildGoModule rec { propagatedBuildInputs = lib.optionals stdenv.isDarwin [ libobjc IOKit ]; + passthru.tests = { inherit (nixosTests) geth; }; + meta = with lib; { homepage = "https://geth.ethereum.org/"; description = "Official golang implementation of the Ethereum protocol"; |