From 6b82f6a73cf65dd94be7055d98bd783bb80076d8 Mon Sep 17 00:00:00 2001 From: "RingOfStorms (Joshua Bell)" Date: Tue, 4 Feb 2025 16:00:10 -0600 Subject: [PATCH] add gcc to dev module --- components/nix/rust-dev.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/nix/rust-dev.nix b/components/nix/rust-dev.nix index 06df1a2..c5af076 100644 --- a/components/nix/rust-dev.nix +++ b/components/nix/rust-dev.nix @@ -39,8 +39,8 @@ in }; config = mkIf config.components.rust.enable { - environment.systemPackages = [ - pkgs.rustup + environment.systemPackages = with pkgs; [ + rustup gcc ] ++ (if config.components.rust.repl then [ pkgs.evcxr ] else [ ]); environment.shellAliases = mkIf config.components.rust.repl {