about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2020-02-18 22:41:00 +0100
committerGitHub <noreply@github.com>2020-02-18 22:41:00 +0100
commit3698ce17552d256409416b99bd89d80514e82b05 (patch)
tree146dd6c1a4b7305eed5d8b74bd423b9796b12c7f
parent1b96f9b68c728985bb94bb19c095330538827138 (diff)
parent6637f1cac641bb21076afeb511172c9597c4d9f5 (diff)
Merge pull request #80427 from xfix/cargo-geiger-fix-tests
cargo-geiger: fix build with rust 1.41
-rw-r--r--pkgs/development/tools/rust/cargo-geiger/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/tools/rust/cargo-geiger/default.nix b/pkgs/development/tools/rust/cargo-geiger/default.nix
index 59e4402627cf3..b6f3bb7af0002 100644
--- a/pkgs/development/tools/rust/cargo-geiger/default.nix
+++ b/pkgs/development/tools/rust/cargo-geiger/default.nix
@@ -26,6 +26,12 @@ rustPlatform.buildRustPackage rec {
   # we might be able to run these with something like
   # `cargo insta review` in the `preCheck` phase.
   checkPhase = ''
+    cd cargo-geiger/tests/snapshots
+    for file in *
+    do
+      mv $file r#$file
+    done
+    cd -
     cargo test -- \
     --skip test_package::case_2 \
     --skip test_package::case_3 \