gnu: kcalendarcore: Use G-expressions.

* gnu/packages/kde-frameworks.scm (kcalendarcore)[arguments]:
Rewrite as G-expressions.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
Zheng Junjie 2023-07-12 10:36:49 +08:00 committed by 宋文武
parent 6445dc95ed
commit 121e081cc3
No known key found for this signature in database
GPG key ID: D415BF253B515976

View file

@ -502,15 +502,16 @@ (define-public kcalendarcore
(inputs (inputs
(list libical qtbase-5)) (list libical qtbase-5))
(arguments (arguments
`(#:phases (list
(modify-phases %standard-phases #:phases
(add-before 'check 'check-setup #~(modify-phases %standard-phases
(lambda* (#:key inputs #:allow-other-keys) ;;; XXX: failing test (add-before 'check 'check-setup
(setenv "QT_QPA_PLATFORM" "offscreen") (lambda* (#:key inputs #:allow-other-keys) ;;; XXX: failing test
(setenv "TZ" "Europe/Prague") (setenv "QT_QPA_PLATFORM" "offscreen")
(setenv "TZDIR" (setenv "TZ" "Europe/Prague")
(search-input-directory inputs (setenv "TZDIR"
"share/zoneinfo"))))))) (search-input-directory inputs
"share/zoneinfo")))))))
(home-page "https://community.kde.org/Frameworks") (home-page "https://community.kde.org/Frameworks")
(synopsis "Library for interfacing with calendars") (synopsis "Library for interfacing with calendars")
(description "This library provides access to and handling of calendar (description "This library provides access to and handling of calendar