mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: kiconthemes: Enable testing.
* gnu/packages/kde-frameworks.scm (kiconthemes)[arguments]<#:phases>: Add 'enable-testing phase. Change-Id: I7d8e600f19518fa8d5ba09cfd11a345449aadbd6
This commit is contained in:
parent
f4ce754028
commit
4b11d0526c
1 changed files with 5 additions and 0 deletions
|
@ -3804,6 +3804,11 @@ window does not need focus for them to be activated.")
|
||||||
(arguments
|
(arguments
|
||||||
(list #:phases
|
(list #:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'enable-testing
|
||||||
|
(lambda _
|
||||||
|
(substitute* "CMakeLists.txt"
|
||||||
|
(("if \\(BUILD_TESTING\\)" all)
|
||||||
|
(string-append all "\n enable_testing()")))))
|
||||||
(add-before 'check 'check-setup
|
(add-before 'check 'check-setup
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(setenv "HOME" (getcwd))
|
(setenv "HOME" (getcwd))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue