From fc956080e25167d1d30097f5efeec35d6d1ca59e Mon Sep 17 00:00:00 2001 From: Vinicius Deolindo Date: Fri, 27 Dec 2024 06:40:37 -0300 Subject: [PATCH] Flake/devshell: Add more useful packages The list now includes: - clang-tools: For clangd and clang-format - pre-commit: For the pre-commit hooks - prettier: For web-related formatting --- shell.nix | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/shell.nix b/shell.nix index 78f8c67c180..e1ff9b5f852 100644 --- a/shell.nix +++ b/shell.nix @@ -15,13 +15,20 @@ pkgs.mkShell { })) ]; - packages = with pkgs.qt6Packages; [ - qtbase.dev - qttools - qtwayland.dev + packages = + with pkgs; + with pkgs.qt6Packages; + with pkgs.nodePackages; + [ + qtbase.dev + qttools + qtwayland.dev - pkgs.ccache - ]; + ccache + clang-tools + pre-commit + prettier + ]; shellHook = '' # NOTE: This is required to make it find the wayland platform plugin installed