Revert "gnu: lxqt-admin: Fix path for timezone file."
The timezone database should not be depended on by packages, but rather found at
runtime in the environment. Otherwise, this package will eventually report the
incorrect time, because time zones change regularly.
This reverts commit 99c1c7a30c
.
This commit is contained in:
parent
13ebf5e36c
commit
040d35f088
@ -39,7 +39,6 @@
|
||||
#: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)
|
||||
@ -321,8 +320,7 @@ LXQt and the system it's running on.")
|
||||
libqtxdg
|
||||
polkit-qt
|
||||
qtsvg-5
|
||||
qtx11extras
|
||||
tzdata))
|
||||
qtx11extras))
|
||||
(native-inputs
|
||||
(list lxqt-build-tools qttools-5))
|
||||
(arguments
|
||||
@ -330,14 +328,12 @@ LXQt and the system it's running on.")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-source
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(lambda _
|
||||
(substitute* '("lxqt-admin-user/CMakeLists.txt"
|
||||
"lxqt-admin-time/CMakeLists.txt")
|
||||
(("DESTINATION \"\\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}")
|
||||
"DESTINATION \"share/polkit-1/actions"))
|
||||
(substitute* '("lxqt-admin-time/timeadmindialog.cpp")
|
||||
(("/usr/share/zoneinfo/zone.tab")
|
||||
(search-input-file inputs "share/zoneinfo/zone.tab"))))))))
|
||||
#t)))))
|
||||
(home-page "https://lxqt-project.org")
|
||||
(synopsis "LXQt system administration tool")
|
||||
(description "lxqt-admin is providing two GUI tools to adjust settings of
|
||||
|
Loading…
Reference in New Issue
Block a user