mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
Merge pull request #138267 from romildo/fix.lxqt-config
lxqt.lxqt-config: gsettings is a runtime dependence
This commit is contained in:
commit
b2885bbbb9
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue