lxqt.lxqt-config: gsettings is a runtime dependence

This commit is contained in:
José Romildo 2021-09-17 09:12:44 -03:00
parent 0dcac759f2
commit 97723523e0

View File

@ -3,6 +3,7 @@
, fetchFromGitHub
, cmake
, pkg-config
, glib
, lxqt-build-tools
, qtbase
, qtx11extras
@ -34,6 +35,7 @@ mkDerivation rec {
];
buildInputs = [
glib.bin
qtbase
qtx11extras
qttools
@ -51,6 +53,12 @@ mkDerivation rec {
xorg.xf86inputlibinput.dev
];
postPatch = ''
substituteInPlace lxqt-config-appearance/configothertoolkits.cpp \
--replace 'QStringLiteral("gsettings' \
'QStringLiteral("${glib.bin}/bin/gsettings'
'';
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; {