summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndré Silva <123550+andresilva@users.noreply.github.com>2023-09-29 12:01:05 +0100
committerGitHub <noreply@github.com>2023-09-29 12:01:05 +0100
commit6caacd0d8143f2c871ff337783237d62c60ff99d (patch)
tree8b0886df3a34ac93f7c4bcb17a45a1a6cac17c40
parent8fbec03ebdf00c5040c6b18777fa3141c30e701a (diff)
downloadnixpkgs-6caacd0d8143f2c871ff337783237d62c60ff99d.tar
nixpkgs-6caacd0d8143f2c871ff337783237d62c60ff99d.tar.gz
nixpkgs-6caacd0d8143f2c871ff337783237d62c60ff99d.tar.bz2
nixpkgs-6caacd0d8143f2c871ff337783237d62c60ff99d.tar.lz
nixpkgs-6caacd0d8143f2c871ff337783237d62c60ff99d.tar.xz
nixpkgs-6caacd0d8143f2c871ff337783237d62c60ff99d.tar.zst
nixpkgs-6caacd0d8143f2c871ff337783237d62c60ff99d.zip
polkadot: apply suggestions from code review
Co-authored-by: asymmetric <lorenzo@mailbox.org>
-rw-r--r--pkgs/applications/blockchains/polkadot/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/blockchains/polkadot/default.nix b/pkgs/applications/blockchains/polkadot/default.nix
index 9ab132c6845..1ed5d981911 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;