Skip to content

Commit

Permalink
chore: add git-clang-format to devShell
Browse files Browse the repository at this point in the history
  • Loading branch information
glaumar committed Aug 15, 2024
1 parent 9304bf6 commit c46eefa
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 9 additions & 10 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
utils.url = "github:numtide/flake-utils";
};

outputs = { self, nixpkgs, utils, ... }:
outputs = { nixpkgs, utils, ... }:
utils.lib.eachDefaultSystem
(system:
let
Expand All @@ -18,10 +18,6 @@
buildToolsVersions = [ buildToolsVersion ];
};
zipAlignPath = "${androidComposition.androidsdk}/libexec/android-sdk/build-tools/${buildToolsVersion}";
boldPanelIcons = false;
blackPanelIcons = false;
alternativeIcons = false;
themeVariants = [];
in
{
packages.default = pkgs.stdenv.mkDerivation {
Expand All @@ -43,8 +39,8 @@
kdePackages.kirigami
kdePackages.qtsvg
kdePackages.qtimageformats
] ++ lib.optionals stdenv.isLinux [
kdePackages.qqc2-breeze-style
] ++ lib.optionals stdenv.isLinux [
kdePackages.qqc2-breeze-style
] ++ lib.optionals stdenv.isDarwin [
kdePackages.breeze-icons
];
Expand All @@ -71,8 +67,10 @@
devShells.default = pkgs.mkShell rec {
buildInputs = with pkgs; [
stdenv.cc.cc
clang-tools
clang-tools # c/c++ lsp and formater
libclang.python # git-clang-format
cmake
ninja
kdePackages.extra-cmake-modules
kdePackages.qtbase
kdePackages.qtdeclarative
Expand All @@ -86,8 +84,9 @@
android-tools
apksigner
jdk21_headless
] ++ lib.optionals stdenv.isLinux [
gdb kdePackages.qqc2-breeze-style
] ++ lib.optionals stdenv.isLinux [
gdb
kdePackages.qqc2-breeze-style
] ++ lib.optionals stdenv.isDarwin [
kdePackages.breeze-icons
];
Expand Down

0 comments on commit c46eefa

Please sign in to comment.