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 {