Skip to content

Commit

Permalink
Toolchain/nix: Add some more useful packages
Browse files Browse the repository at this point in the history
This commit adds the following packages:

clang-tools: Contains clangd and clang-format.
prettier
pre-commit
  • Loading branch information
iniw committed Sep 21, 2024
1 parent 0d5084a commit 47db3c1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Ladybird/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ mkShell.override { stdenv = gcc13Stdenv; } {
qt6.qttools
qt6.qtwayland
qt6.qtwayland.dev
# For clangd and clang-format
clang-tools
# For LibWeb-related formatting
nodePackages.prettier
# For the pre-commit hooks
pre-commit
];

shellHook = ''
Expand Down
6 changes: 6 additions & 0 deletions Toolchain/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ mkShell.override { stdenv = gcc13Stdenv; } {
parted
qemu
python3
# For clangd and clang-format
clang-tools
# For LibWeb-related formatting
nodePackages.prettier
# For the pre-commit hooks
pre-commit
];
hardeningDisable = [ "format" ];
}

0 comments on commit 47db3c1

Please sign in to comment.