mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 14:28:02 +03:00
feat: add QML/Qt6 support system-wide
- 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]>
This commit is contained in:
1 parent
4042d03053
commit
8f6c653156
3 files changed
+16
No files matched your search
@@ -6,5 +6,6 @@
|
||||
./nix
|
||||
./power.nix
|
||||
./fonts
|
||||
./qml.nix
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{ 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"
|
||||
];
|
||||
}
|
||||
@@ -30,5 +30,9 @@ with pkgs;
|
||||
smartmontools
|
||||
gsmartcontrol
|
||||
parted
|
||||
|
||||
# qml/qt6
|
||||
qt6.full
|
||||
libclang
|
||||
];
|
||||
}
|
||||
Reference in new issue
Block a user