Merge pull request #138267 from romildo/fix.lxqt-config

lxqt.lxqt-config: gsettings is a runtime dependence
This commit is contained in:
José Romildo Malaquias 2021-09-29 15:14:55 -03:00 committed by GitHub
commit b2885bbbb9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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; {