gnu: krunner: Remove reference to '%build-inputs'.
* gnu/packages/kde-frameworks.scm (krunner)[arguments]: Replace reference to '%build-inputs' by 'inputs' keyword argument.master
parent
9204408de7
commit
1b8a18b629
|
@ -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))
|
||||||
|
|
Reference in New Issue