summary refs log tree commit diff
path: root/pkgs/build-support/rust
diff options
context:
space:
mode:
authorBenjamin Hipple <bhipple@protonmail.com>2020-01-12 12:19:17 -0500
committerzimbatm <zimbatm@zimbatm.com>2020-01-12 17:19:17 +0000
commit6e8c3775628a4abcce07b5d195cf3f443ce9bbe8 (patch)
treecc44a7f1fa08b6deb061a4865ade21f2709758a1 /pkgs/build-support/rust
parent26a4e0e57cee1b3f8802cd3c6ca1167089cd3313 (diff)
downloadnixpkgs-6e8c3775628a4abcce07b5d195cf3f443ce9bbe8.tar
nixpkgs-6e8c3775628a4abcce07b5d195cf3f443ce9bbe8.tar.gz
nixpkgs-6e8c3775628a4abcce07b5d195cf3f443ce9bbe8.tar.bz2
nixpkgs-6e8c3775628a4abcce07b5d195cf3f443ce9bbe8.tar.lz
nixpkgs-6e8c3775628a4abcce07b5d195cf3f443ce9bbe8.tar.xz
nixpkgs-6e8c3775628a4abcce07b5d195cf3f443ce9bbe8.tar.zst
nixpkgs-6e8c3775628a4abcce07b5d195cf3f443ce9bbe8.zip
rustPlatform.buildRustPackage: cleaner output on verifyCargoDeps (#77567)
When this fails, the user may want to copy-paste the path to the "bad"
Cargo.lock file to inspect. The trailing `.` on `$cargoDeps.` gets caught in
most terminal copy-pastes. Since half the lines already don't have it, this
removes it from all of them for consistent output.
Diffstat (limited to 'pkgs/build-support/rust')
-rw-r--r--pkgs/build-support/rust/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/build-support/rust/default.nix b/pkgs/build-support/rust/default.nix
index f9cf8f1f0c1..4089436c0e0 100644
--- a/pkgs/build-support/rust/default.nix
+++ b/pkgs/build-support/rust/default.nix
@@ -100,9 +100,9 @@ stdenv.mkDerivation (args // {
   '' + stdenv.lib.optionalString verifyCargoDeps ''
     if ! diff source/Cargo.lock $cargoDeps/Cargo.lock ; then
       echo
-      echo "ERROR: cargoSha256 is out of date."
+      echo "ERROR: cargoSha256 is out of date"
       echo
-      echo "Cargo.lock is not the same in $cargoDeps."
+      echo "Cargo.lock is not the same in $cargoDeps"
       echo
       echo "To fix the issue:"
       echo '1. Use "1111111111111111111111111111111111111111111111111111" as the cargoSha256 value'