me
/
guix
Archived
1
0
Fork 0

gnu: krunner: Remove reference to '%build-inputs'.

* gnu/packages/kde-frameworks.scm (krunner)[arguments]: Replace reference
to '%build-inputs' by 'inputs' keyword argument.
master
Ludovic Courtès 2021-11-27 11:46:46 +01:00
parent 9204408de7
commit 1b8a18b629
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 2 additions and 2 deletions

View File

@ -3067,12 +3067,12 @@ to easily extend the contacts collection.")
(add-after 'unpack 'fix-paths-for-test (add-after 'unpack 'fix-paths-for-test
;; This test tries to access paths like /home, /usr/bin and /bin/ls ;; This test tries to access paths like /home, /usr/bin and /bin/ls
;; which don't exist in the build-container. Change to existing paths. ;; which don't exist in the build-container. Change to existing paths.
(lambda _ (lambda* (#:key inputs #:allow-other-keys)
(substitute* "autotests/runnercontexttest.cpp" (substitute* "autotests/runnercontexttest.cpp"
(("/home\"") "/tmp\"") ;; single path-part (("/home\"") "/tmp\"") ;; single path-part
(("//usr/bin\"") (string-append (getcwd) "\"")) ;; multiple path-parts (("//usr/bin\"") (string-append (getcwd) "\"")) ;; multiple path-parts
(("/bin/ls") (("/bin/ls")
(search-input-file %build-inputs "/bin/ls"))))) (search-input-file inputs "/bin/ls")))))
(add-before 'check 'check-setup (add-before 'check 'check-setup
(lambda _ (lambda _
(setenv "HOME" (getcwd)) (setenv "HOME" (getcwd))