From d68f0d8ebd6a6641574f9e2a4c1857675a940962 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Silva?= Date: Thu, 19 Dec 2024 19:43:29 +0000 Subject: [PATCH] polkadot: build only main node binary --- pkgs/applications/blockchains/polkadot/default.nix | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/pkgs/applications/blockchains/polkadot/default.nix b/pkgs/applications/blockchains/polkadot/default.nix index 8d7e24f16652..7373536bfbf8 100644 --- a/pkgs/applications/blockchains/polkadot/default.nix +++ b/pkgs/applications/blockchains/polkadot/default.nix @@ -60,15 +60,7 @@ rustPlatform.buildRustPackage rec { }; buildType = "production"; - - cargoBuildFlags = [ - "-p" - "polkadot" - "-p" - "polkadot-omni-node" - "-p" - "polkadot-parachain-bin" - ]; + buildAndTestSubdir = "polkadot"; # NOTE: tests currently fail to compile due to an issue with cargo-auditable # and resolution of features flags, potentially related to this: @@ -100,8 +92,8 @@ rustPlatform.buildRustPackage rec { ROCKSDB_LIB_DIR = "${rocksdb}/lib"; meta = with lib; { - description = "Polkadot Node Implementation"; - homepage = "https://polkadot.network"; + description = "Implementation of a https://polkadot.network node in Rust based on the Substrate framework"; + homepage = "https://github.com/paritytech/polkadot-sdk"; license = licenses.gpl3Only; maintainers = with maintainers; [ akru