aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharlie Groves2022-07-31 19:52:54 +0000
committerGitHub2022-07-31 19:52:54 +0000
commit9f4802e1010f85b930695e3ac51360fd892f5b2b (patch)
treeae5bd6c698196885cbb45ef2a1397adc09b641c2
parentc15b494288c27fd97e15f31baf056923fae1b94c (diff)
Only add cargo-tarpaulin on x86_64 (#3252)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
-rw-r--r--flake.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 63501f9c..7b6f0685 100644
--- a/flake.nix
+++ b/flake.nix
@@ -80,7 +80,9 @@
packages =
prev.packages
++ (
- with common.pkgs; [lld_13 lldb cargo-tarpaulin cargo-flamegraph rust-analyzer]
+ with common.pkgs;
+ [lld_13 lldb cargo-flamegraph rust-analyzer] ++
+ (lib.optional (stdenv.isx86_64 && stdenv.isLinux) cargo-tarpaulin)
);
env =
prev.env