polkadot: build only main node binary (#366617)

This commit is contained in:
André Silva
2024-12-20 11:50:47 +00:00
committed by GitHub

View File

@@ -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