Migrate to KDE configurations

Can be not complete: link error
This commit is contained in:
Florian RICHER 2025-07-04 15:10:47 +02:00
parent a6f818864a
commit 3d92ac2abc
9 changed files with 115 additions and 47 deletions

View file

@ -11,8 +11,7 @@
let
pkgs = import nixpkgs { inherit system; };
kdeDependencies = with pkgs.kdePackages; [
qtbase
qmlDependencies = with pkgs.kdePackages; [
qtdeclarative
kirigami.unwrapped
ki18n
@ -21,6 +20,11 @@
sonnet
];
kdeDependencies = with pkgs.kdePackages; [
qtbase
extra-cmake-modules
];
makeQmlImportPath = pkgs.lib.makeSearchPathOutput "bin" "lib/qt-6/qml";
in
{
@ -39,7 +43,7 @@
# For translation generation
ruby
] ++ kdeDependencies;
] ++ kdeDependencies ++ qmlDependencies;
dontFixCmake = true;
cmakeFlags = [
@ -47,7 +51,7 @@
"-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo"
];
QML2_IMPORT_PATH = makeQmlImportPath kdeDependencies;
QML2_IMPORT_PATH = makeQmlImportPath qmlDependencies;
};
};
});