Skip to content

Commit 66dec8c

Browse files
authored
polkadot: build only main node binary (#366617)
2 parents db0a6c2 + d68f0d8 commit 66dec8c

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

pkgs/applications/blockchains/polkadot/default.nix

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,7 @@ rustPlatform.buildRustPackage rec {
6060
};
6161

6262
buildType = "production";
63-
64-
cargoBuildFlags = [
65-
"-p"
66-
"polkadot"
67-
"-p"
68-
"polkadot-omni-node"
69-
"-p"
70-
"polkadot-parachain-bin"
71-
];
63+
buildAndTestSubdir = "polkadot";
7264

7365
# NOTE: tests currently fail to compile due to an issue with cargo-auditable
7466
# and resolution of features flags, potentially related to this:
@@ -100,8 +92,8 @@ rustPlatform.buildRustPackage rec {
10092
ROCKSDB_LIB_DIR = "${rocksdb}/lib";
10193

10294
meta = with lib; {
103-
description = "Polkadot Node Implementation";
104-
homepage = "https://polkadot.network";
95+
description = "Implementation of a https://polkadot.network node in Rust based on the Substrate framework";
96+
homepage = "https://github.com/paritytech/polkadot-sdk";
10597
license = licenses.gpl3Only;
10698
maintainers = with maintainers; [
10799
akru

0 commit comments

Comments
 (0)