summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorZheng Junjie <873216071@qq.com>2023-07-12 11:44:22 +0800
committer宋文武 <iyzsong@member.fsf.org>2023-08-02 22:27:39 +0800
commitcfc64292be70d83165258701d70f8e1ddccda87c (patch)
treeec0cca0dd28f32348e3ed49b19c48d3c254e3542 /gnu
parent8c14f21e260a233f9acf636141780f7906719ee9 (diff)
gnu: kauth: Use G-expressions.
* gnu/packages/kde-frameworks.scm (kauth)[arguments]: Rewrite as G-expressions. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/kde-frameworks.scm37
1 files changed, 19 insertions, 18 deletions
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 7263c7d173..daffee7c7c 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -1561,24 +1561,25 @@ with other frameworks.")
(inputs
(list kcoreaddons polkit-qt qtbase-5))
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'fix-cmake-install-directories
- (lambda _
- ;; Make packages using kauth put their policy files and helpers
- ;; into their own prefix.
- (substitute* "KF5AuthConfig.cmake.in"
- (("@KAUTH_POLICY_FILES_INSTALL_DIR@")
- "${KDE_INSTALL_DATADIR}/polkit-1/actions")
- (("@KAUTH_HELPER_INSTALL_DIR@")
- "${KDE_INSTALL_LIBEXECDIR}")
- (("@KAUTH_HELPER_INSTALL_ABSOLUTE_DIR@")
- "${KDE_INSTALL_LIBEXECDIR}"))))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (setenv "DBUS_FATAL_WARNINGS" "0")
- (invoke "dbus-launch" "ctest")))))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-cmake-install-directories
+ (lambda _
+ ;; Make packages using kauth put their policy files and helpers
+ ;; into their own prefix.
+ (substitute* "KF5AuthConfig.cmake.in"
+ (("@KAUTH_POLICY_FILES_INSTALL_DIR@")
+ "${KDE_INSTALL_DATADIR}/polkit-1/actions")
+ (("@KAUTH_HELPER_INSTALL_DIR@")
+ "${KDE_INSTALL_LIBEXECDIR}")
+ (("@KAUTH_HELPER_INSTALL_ABSOLUTE_DIR@")
+ "${KDE_INSTALL_LIBEXECDIR}"))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (setenv "DBUS_FATAL_WARNINGS" "0")
+ (invoke "dbus-launch" "ctest")))))))
(home-page "https://community.kde.org/Frameworks")
(synopsis "Execute actions as privileged user")
(description "KAuth provides a convenient, system-integrated way to offload