summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorReza Alizadeh Majd <r.majd@pantherx.org>2023-02-08 09:40:05 +0800
committer宋文武 <iyzsong@member.fsf.org>2023-02-08 09:42:58 +0800
commit99c1c7a30c59c3514a4ced6e0cad0e5c2860331d (patch)
tree0cc772791975671f28178a2f30a591f1bcb6633b /gnu
parentccf742f120452acf587d16e40adea570d15169c4 (diff)
gnu: lxqt-admin: Fix path for timezone file.
* gnu/packages/lxqt.scm (lxqt-admin)[arguments]: Update hardcoded path for zone.tab to point to tzdata reference. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/lxqt.scm10
1 files changed, 7 insertions, 3 deletions
diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm
index dde87382e8..5b39f0e9f4 100644
--- a/gnu/packages/lxqt.scm
+++ b/gnu/packages/lxqt.scm
@@ -39,6 +39,7 @@
#:use-module (guix build-system trivial)
#:use-module (gnu packages)
#:use-module (gnu packages admin)
+ #:use-module (gnu packages base)
#:use-module (gnu packages compression)
#:use-module (gnu packages documentation)
#:use-module (gnu packages compton)
@@ -320,7 +321,8 @@ LXQt and the system it's running on.")
libqtxdg
polkit-qt
qtsvg-5
- qtx11extras))
+ qtx11extras
+ tzdata))
(native-inputs
(list lxqt-build-tools qttools-5))
(arguments
@@ -328,12 +330,14 @@ LXQt and the system it's running on.")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-source
- (lambda _
+ (lambda* (#:key inputs #:allow-other-keys)
(substitute* '("lxqt-admin-user/CMakeLists.txt"
"lxqt-admin-time/CMakeLists.txt")
(("DESTINATION \"\\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}")
"DESTINATION \"share/polkit-1/actions"))
- #t)))))
+ (substitute* '("lxqt-admin-time/timeadmindialog.cpp")
+ (("/usr/share/zoneinfo/zone.tab")
+ (search-input-file inputs "share/zoneinfo/zone.tab"))))))))
(home-page "https://lxqt-project.org")
(synopsis "LXQt system administration tool")
(description "lxqt-admin is providing two GUI tools to adjust settings of