Break up dependencies in different groups

This commit is contained in:
Sameer Rahmani 2024-01-16 17:23:26 +00:00
parent b238c69288
commit 99586477e0
Signed by: lxsameer
GPG Key ID: B0A4AF28AB9FD90B
1 changed files with 22 additions and 17 deletions

View File

@ -165,38 +165,43 @@
old.preInstallCheck;
});
native_build_inputs = (with pkgs; [
buildToolsDeps = (with pkgs; [
cmake
ninja
ccache
git'
zsh
zsh-autosuggestions
zsh-autocomplete
zsh-syntax-highlighting
python3
iwyu
gc
llvm
llvmPackages_17.mlir
llvmPackages_17.clang
]);
iwyu
]);
build_inputs = with pkgs; [
buildDevToolsDeps = (with pkgs; [
ccache
git'
python3
zsh
zsh-autosuggestions
zsh-autocomplete
zsh-syntax-highlighting
]);
buildDeps = (with pkgs; [
gc
gtest
gmock
zlib'
llvm
llvmPackages_17.mlir
llvmPackages_17.clang
];
]);
testDeps = (with pkgs; [
gtest
gmock
]);
in {
inherit pkgs;
devShells.default = (pkgs.mkShell.override { stdenv = stdenv';}) {
nativeBuildInputs = native_build_inputs;
buildInputs = build_inputs;
nativeBuildInputs = buildDevToolsDeps ++ buildToolsDeps;
buildInputs = buildDeps ++ testDeps;
shellHook =
''
ZDOTDIR=${zshDir} zsh -d && exit