From 359b3d15244c7bd992c3ecc3aa3a82917f5987fc Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Sun, 4 Sep 2022 03:36:15 -0400 Subject: [PATCH] make cargo-tarpaulin linux only --- home-manager/common/programs/devel.nix | 1 - home-manager/linux/programs/devel.nix | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/home-manager/common/programs/devel.nix b/home-manager/common/programs/devel.nix index fca5c70..ca58238 100644 --- a/home-manager/common/programs/devel.nix +++ b/home-manager/common/programs/devel.nix @@ -53,7 +53,6 @@ with lib; with nLib; { cargo-bloat # Find out what's taking up space in the executable cargo-udeps # Find unused dependencies cargo-expand # Dump expanded macros - unstable.cargo-tarpaulin # Code coverage cargo-play # Quickly execute code outside of a crate # For building stuff that uses protocol buffers protobuf diff --git a/home-manager/linux/programs/devel.nix b/home-manager/linux/programs/devel.nix index 01b0a4e..f8588b5 100644 --- a/home-manager/linux/programs/devel.nix +++ b/home-manager/linux/programs/devel.nix @@ -16,6 +16,12 @@ with lib; with nLib; { unstable.mold ]; }) + # Rust development + (mkIf devel.rust { + home.packages = with pkgs; [ + unstable.cargo-tarpaulin # Code coverage + ]; + }) # JVM Development (mkIf devel.jvm { home.packages = with unstable; [