diff --git a/projects/kde/kdesrc-buildrc b/projects/kde/kdesrc-buildrc index 307672e..07e1e35 100644 --- a/projects/kde/kdesrc-buildrc +++ b/projects/kde/kdesrc-buildrc @@ -17,6 +17,9 @@ global # flat structure directory-layout flat + # Install directory for Qt + qt-install-dir ~/projects/kde/qt + # Install directory for KDE software install-dir ~/projects/kde/usr diff --git a/projects/kde/shell.nix b/projects/kde/shell.nix index 93e4a31..4f6d0c1 100644 --- a/projects/kde/shell.nix +++ b/projects/kde/shell.nix @@ -10,8 +10,12 @@ myllvm.stdenv.mkDerivation { shellHook = '' export PATH=/home/cullmann/projects/kde/usr/bin:/home/cullmann/projects/kde:/home/cullmann/projects/kde/src/kdesrc-build:$PATH -# LD_LIBRARY_PATH only needed if you are building without rpath -# export LD_LIBRARY_PATH=/home/cullmann/projects/kde/usr/lib:/home/cullmann/projects/kde/usr/lib64:$LD_LIBRARY_PATH +# fix Qt tests for rcc +unset QT_RCC_SOURCE_DATE_OVERRIDE +unset SOURCE_DATE_EPOCH + +# fix valgrind +export QT_ENABLE_REGEXP_JIT=0 export QT_PLUGIN_PATH=/home/cullmann/projects/kde/usr/lib/plugins:/home/cullmann/projects/kde/usr/lib64/plugins:${pkgs.qt6.qtbase.qtPluginPrefix}:${pkgs.lib.getBin pkgs.qt6.qtsvg}/${pkgs.qt6.qtbase.qtPluginPrefix}:${pkgs.lib.getBin pkgs.qt6.qtwayland}/${pkgs.qt6.qtbase.qtPluginPrefix}:${pkgs.lib.getBin pkgs.qt6.qtspeech}/${pkgs.qt6.qtbase.qtPluginPrefix}:$QT_PLUGIN_PATH export QML2_IMPORT_PATH=/home/cullmann/projects/kde/usr/lib/qml:$QML2_IMPORT_PATH