about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-10-15 18:47:27 +0900
committersefidel <contact@sefidel.net>2022-10-15 18:47:47 +0900
commit093759f6df8bc224efdb4ec80bc7760411ab7c98 (patch)
tree9a10d6a1d86961c254fc4633b8e00ed20555e36f
parentc393f5956a0a1effce56ade35569913c17a8fee8 (diff)
downloadnixrc-093759f6df8bc224efdb4ec80bc7760411ab7c98.tar.gz
nixrc-093759f6df8bc224efdb4ec80bc7760411ab7c98.zip
feat(home/base-darwin): use system cc
-rw-r--r--home/profiles/base-darwin/default.nix1
-rw-r--r--home/profiles/development/default.nix2
2 files changed, 1 insertions, 2 deletions
diff --git a/home/profiles/base-darwin/default.nix b/home/profiles/base-darwin/default.nix
index 9cedf8d..703ba67 100644
--- a/home/profiles/base-darwin/default.nix
+++ b/home/profiles/base-darwin/default.nix
@@ -45,7 +45,6 @@ in
       # Common build tools
       (pkgs.rust-bin.selectLatestNightlyWith (toolchain: toolchain.default.override { extensions = [ "rust-src" ]; }))
       pkgs.go
-      pkgs.gcc
 
       (pkgs.writeShellScriptBin "0x0" (import ./scripts/0x0.nix))
     ];
diff --git a/home/profiles/development/default.nix b/home/profiles/development/default.nix
index 835aeb7..ba67e17 100644
--- a/home/profiles/development/default.nix
+++ b/home/profiles/development/default.nix
@@ -105,7 +105,6 @@ in
       pkgs.cargo-sort
       pkgs.cargo-diet
       pkgs.cargo-deny
-      pkgs.clang-tools
       # pkgs.lldb # Broken
       pkgs.ghc
       pkgs.stack
@@ -117,6 +116,7 @@ in
     ] ++ pkgs.lib.optionals (pkgs.stdenv.isLinux) [
       # TODO: currently broken/doesn't support Darwin
       pkgs.valgrind
+      pkgs.clang-tools
     ];
 
     nixpkgs.allowedUnfree = [ "vscode" ];