From 6caacd0d8143f2c871ff337783237d62c60ff99d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Silva?= <123550+andresilva@users.noreply.github.com> Date: Fri, 29 Sep 2023 12:01:05 +0100 Subject: [PATCH] polkadot: apply suggestions from code review Co-authored-by: asymmetric --- pkgs/applications/blockchains/polkadot/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/blockchains/polkadot/default.nix b/pkgs/applications/blockchains/polkadot/default.nix index 9ab132c68456..1ed5d9819110 100644 --- a/pkgs/applications/blockchains/polkadot/default.nix +++ b/pkgs/applications/blockchains/polkadot/default.nix @@ -33,7 +33,7 @@ rustPlatform.buildRustPackage rec { }; preBuild = '' - export SUBSTRATE_CLI_GIT_COMMIT_HASH=$(cat .git_commit) + export SUBSTRATE_CLI_GIT_COMMIT_HASH=$(< .git_commit) rm .git_commit ''; @@ -50,7 +50,7 @@ rustPlatform.buildRustPackage rec { cargoBuildFlags = [ "-p" "polkadot" ]; # NOTE: tests currently fail to compile due to an issue with cargo-auditable - # and resolution of features flags, I think related to this: + # and resolution of features flags, potentially related to this: # https://github.com/rust-secure-code/cargo-auditable/issues/66 doCheck = false;