mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-03 08:36:32 +01:00
gnu: krunner: Remove reference to '%build-inputs'.
* gnu/packages/kde-frameworks.scm (krunner)[arguments]: Replace reference to '%build-inputs' by 'inputs' keyword argument.
This commit is contained in:
parent
9204408de7
commit
1b8a18b629
1 changed files with 2 additions and 2 deletions
|
@ -3067,12 +3067,12 @@ (define-public krunner
|
|||
(add-after 'unpack 'fix-paths-for-test
|
||||
;; 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.
|
||||
(lambda _
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* "autotests/runnercontexttest.cpp"
|
||||
(("/home\"") "/tmp\"") ;; single path-part
|
||||
(("//usr/bin\"") (string-append (getcwd) "\"")) ;; multiple path-parts
|
||||
(("/bin/ls")
|
||||
(search-input-file %build-inputs "/bin/ls")))))
|
||||
(search-input-file inputs "/bin/ls")))))
|
||||
(add-before 'check 'check-setup
|
||||
(lambda _
|
||||
(setenv "HOME" (getcwd))
|
||||
|
|
Loading…
Reference in a new issue