about summary refs log tree commit diff
path: root/users/grfn/system/home/modules/development
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2023-10-23T18·51-0400
committergrfn <grfn@gws.fyi>2023-11-06T21·06+0000
commitd98e47cbcfcdbe202f5b338cf70f5951a01237a4 (patch)
tree90b18a05f5c89bb0820334330d617411a9be1b78 /users/grfn/system/home/modules/development
parent1027754b866e9489b6db0ed18a5c736f128aadcc (diff)
fix(grfn/home): Fix home build for darwin r/6967
Change-Id: Ibcf21617a1cee66c157644712918bcd9bb390228
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9827
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
Diffstat (limited to 'users/grfn/system/home/modules/development')
-rw-r--r--users/grfn/system/home/modules/development/rust.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/users/grfn/system/home/modules/development/rust.nix b/users/grfn/system/home/modules/development/rust.nix
index 9ed42f5d2ddf..105a23bc8376 100644
--- a/users/grfn/system/home/modules/development/rust.nix
+++ b/users/grfn/system/home/modules/development/rust.nix
@@ -3,13 +3,15 @@
 let
   inherit (config.lib) depot;
 in
+
+with lib;
+
 {
 
   home.packages = with pkgs; [
     rustup
     cargo-edit
     cargo-expand
-    cargo-rr
     cargo-udeps
     cargo-bloat
     sccache
@@ -24,6 +26,8 @@ in
     coz
     inferno
     hotspot
+  ] ++ optionals (stdenv.isLinux) [
+    cargo-rr
   ];
 
   programs.zsh.shellAliases = {