File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change 11{
2- lib ,
3- stdenv ,
2+ cmake ,
43 fetchFromGitLab ,
4+ lib ,
55 qtbase ,
66 qtsvg ,
7- qtwayland ,
8- qmake ,
97 qttools ,
8+ qtwayland ,
9+ stdenv ,
1010 wrapQtAppsHook ,
1111} :
1212
@@ -23,7 +23,7 @@ stdenv.mkDerivation (finalAttrs: {
2323 } ;
2424
2525 nativeBuildInputs = [
26- qmake
26+ cmake
2727 qttools
2828 wrapQtAppsHook
2929 ] ;
@@ -34,11 +34,10 @@ stdenv.mkDerivation (finalAttrs: {
3434 qtwayland
3535 ] ;
3636
37- qmakeFlags = [
38- "LRELEASE_EXECUTABLE=${ lib . getDev qttools } /bin/lrelease"
39- "PLUGINDIR=${ placeholder "out" } /${ qtbase . qtPluginPrefix } "
40- "LIBDIR=${ placeholder "out" } /lib"
41- ] ;
37+ postPatch = ''
38+ substituteInPlace src/qt6ct-qtplugin/CMakeLists.txt src/qt6ct-style/CMakeLists.txt \
39+ --replace-fail "\'' ${PLUGINDIR}" "$out/${ qtbase . qtPluginPrefix } "
40+ '' ;
4241
4342 meta = {
4443 description = "Qt6 Configuration Tool" ;
You can’t perform that action at this time.
0 commit comments