Split conf

This commit is contained in:
Florian RICHER 2024-06-17 23:42:01 +02:00
parent 935f13beea
commit 564944cbdf
3 changed files with 36 additions and 33 deletions

View file

@ -22,10 +22,10 @@ in
programs.nix-ld.libraries = [
# Empty for now but used for default packages
] ++ lib.optionals cfg.enableKdeDevelopmentEnvironment (import ./kde-dev-packages.nix { inherit pkgs; });
] ++ lib.optionals cfg.enableKdeDevelopmentEnvironment (import ./kde/libs.nix { inherit pkgs; });
} // mkIf cfg.enableKdeDevelopmentEnvironment {
environment.systemPackages = [
(import ../../../../pkgs/kde-builder.nix { inherit pkgs; })
];
] ++ (import ./kde/programs.nix { inherit pkgs; });
};
}

View file

@ -3,36 +3,6 @@
with pkgs; [
# From https://invent.kde.org/sysadmin/repo-metadata/-/blob/6ddda1e450fdbc093ca0138cf1c850e7b7e75044/distro-dependencies/arch.ini
# .. gnu
autoconf
automake
bison
flex
gcc
gperf
gnumake
texinfo
# .. llvm
clang
cmake
# .. build systems
meson
ninja
# .. rust
corrosion
# .. others
boost
docbook_xsl
doxygen
gi-docgen
git
intltool
pkg-config
# Qt-related
kdePackages.accounts-qt
@ -137,4 +107,4 @@ with pkgs; [
# kpipewire
pipewire
]
] ++ (import ./programs.nix { inherit pkgs; })

View file

@ -0,0 +1,33 @@
{ pkgs }:
with pkgs; [
# .. gnu
autoconf
automake
bison
flex
gcc
gperf
gnumake
texinfo
# .. llvm
clang
cmake
# .. build systems
meson
ninja
# .. rust
corrosion
# .. others
boost
docbook_xsl
doxygen
gi-docgen
git
intltool
pkg-config
]