summary refs log tree commit diff
path: root/pkgs/development/tools/rust/cargo-geiger
diff options
context:
space:
mode:
authorKonrad Borowski <konrad@borowski.pw>2020-02-18 11:46:50 +0100
committerKonrad Borowski <konrad@borowski.pw>2020-02-18 11:46:50 +0100
commit6637f1cac641bb21076afeb511172c9597c4d9f5 (patch)
tree6764567294cdb9b4df5d6b575a930a6b196002a6 /pkgs/development/tools/rust/cargo-geiger
parent329102c47bd1c68f0acdf4feec64232202948c7a (diff)
cargo-geiger: fix build with rust 1.41
Diffstat (limited to 'pkgs/development/tools/rust/cargo-geiger')
-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 \