File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
pkgs/desktops/lxqt/lxqt-admin Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 1111 qtsvg ,
1212 qttools ,
1313 qtwayland ,
14+ tzdata ,
1415 wrapQtAppsHook ,
1516 gitUpdater ,
1617} :
@@ -42,12 +43,22 @@ stdenv.mkDerivation rec {
4243 qtwayland
4344 ] ;
4445
46+ cmakeFlags = [
47+ # fake finding of libsystemd; used to check if we are a systemd-based
48+ # distro rather than actually being linked to
49+ "-DLIBSYSTEMD_FOUND=TRUE"
50+ ] ;
51+
4552 postPatch = ''
4653 for f in lxqt-admin-{time,user}/CMakeLists.txt; do
4754 substituteInPlace $f --replace-fail \
4855 "\'' ${POLKITQT-1_POLICY_FILES_INSTALL_DIR}" \
4956 "$out/share/polkit-1/actions"
5057 done
58+
59+ # patch timezone database file location
60+ substituteInPlace lxqt-admin-time/timeadmindialog.cpp \
61+ --replace-fail "/usr/share/zoneinfo/zone.tab" "${ tzdata } /share/zoneinfo/zone.tab"
5162 '' ;
5263
5364 passthru . updateScript = gitUpdater { } ;
You can’t perform that action at this time.
0 commit comments