about summary refs log tree commit diff
path: root/home/profiles/development/default.nix
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2025-01-19 09:15:13 +1000
committersefidel <contact@sefidel.net>2025-01-19 09:15:13 +1000
commit3ac04336f16e5e0b76fd7dbde02e76f4e456b639 (patch)
treead7f4fa5ffeabed4e510853951aa3e8a41569a19 /home/profiles/development/default.nix
parent4ce767faa9445941e4346a034428500b9358991c (diff)
downloadnixrc-3ac04336f16e5e0b76fd7dbde02e76f4e456b639.tar.gz
nixrc-3ac04336f16e5e0b76fd7dbde02e76f4e456b639.zip
feat(home/development): wrap linux-only packages in optionals
Diffstat (limited to 'home/profiles/development/default.nix')
-rw-r--r--home/profiles/development/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/home/profiles/development/default.nix b/home/profiles/development/default.nix
index 08eacf1..4ecda6a 100644
--- a/home/profiles/development/default.nix
+++ b/home/profiles/development/default.nix
@@ -222,19 +222,16 @@ in
       pkgs.du-dust
       pkgs.deploy-rs
       pkgs.dnsutils
-      pkgs.gdb
       # TODO: https://github.com/cli/cli/issues/4955
       pkgs.gh
       pkgs.git-annex
       pkgs.git-filter-repo
       pkgs.hyperfine
       pkgs.jq
-      pkgs.kicad
       pkgs.lsof
       pkgs.ouch
       pkgs.tcpdump
       pkgs.tokei
-      pkgs.valgrind
       pkgs.mtr
       pkgs.nil
       pkgs.nixpkgs-fmt
@@ -263,6 +260,10 @@ in
       pkgs.pkg-config
       (pkgs.python3.withPackages (ps: with ps; [ pynvim ]))
       pkgs.gopls
+    ] ++ lib.optionals (pkgs.stdenv.isLinux) [
+      pkgs.gdb
+      pkgs.kicad # Marked as broken on Darwin
+      pkgs.valgrind # Marked as broken on Darwin
     ];
   };
 }