mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 14:28:02 +03:00
- Add qt6.full (includes qmlls language server) and libclang - Configure QT_QPA_PLATFORM_PLUGIN_PATH and QML_IMPORT_PATH environment variables - Link Qt6 share directory for proper resource discovery Signed-off-by: elwrcl <[email protected]>
12 lines
242 B
Nix
12 lines
242 B
Nix
{ pkgs, ... }:
|
|
{
|
|
environment.variables = {
|
|
QT_QPA_PLATFORM_PLUGIN_PATH = "${pkgs.qt6.qtbase}/lib/qt-6/plugins";
|
|
QML_IMPORT_PATH = "${pkgs.qt6.qtdeclarative}/lib/qt-6/qml";
|
|
};
|
|
|
|
environment.pathsToLink = [
|
|
"/share/qt6"
|
|
];
|
|
}
|