nixos and qt fixup
This commit is contained in:
10
default.nix
10
default.nix
@@ -6,8 +6,9 @@
|
||||
SDL2,
|
||||
libGL,
|
||||
xorg,
|
||||
kdePackages,
|
||||
qt6Packages ? kdePackages.qt6Packages,
|
||||
installShellFiles,
|
||||
|
||||
graphical ? false,
|
||||
graphical-qt ? false,
|
||||
...
|
||||
@@ -37,12 +38,13 @@ stdenv.mkDerivation {
|
||||
xorg.libX11
|
||||
]
|
||||
++ lib.optionals graphical-qt [
|
||||
qt5Full
|
||||
qtcreator ## not sure if this is actually needed
|
||||
kdePackages.qt6ct
|
||||
qt6Packages.qtbase
|
||||
qt6Packages.wrapQtAppsHook
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DBUILD_GUI=${if graphical or graphical-qt then "ON" else "OFF"}"
|
||||
"-DBUILD_GUI=${if graphical then "ON" else "OFF"}"
|
||||
"-DKTE_USE_QT=${if graphical-qt then "ON" else "OFF"}"
|
||||
"-DCMAKE_BUILD_TYPE=Debug"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user