gnu: waypipe: Simplify 'fix-sleep-path phase.
* gnu/packages/freedesktop.scm (waypipe) [arguments]: Remove inputs argument. [native-inputs]: Remove coreutils. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
e171182a20
commit
d0850dbd34
1 changed files with 4 additions and 6 deletions
|
@ -2451,16 +2451,14 @@ compositors.")
|
|||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-sleep-path
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((coreutils (assoc-ref inputs "coreutils")))
|
||||
(substitute* "./test/startup_failure.py"
|
||||
(("sleep") (string-append coreutils "/bin/sleep")))))))))
|
||||
(lambda* (#:key #:allow-other-keys)
|
||||
(substitute* "./test/startup_failure.py"
|
||||
(("sleep") (which "sleep"))))))))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)
|
||||
("scdoc" ,scdoc)
|
||||
;; For tests
|
||||
("python" ,python)
|
||||
("coreutils" ,coreutils)))
|
||||
("python" ,python)))
|
||||
(home-page "https://gitlab.freedesktop.org/mstoeckl/waypipe")
|
||||
(synopsis "Proxy for Wayland protocol applications")
|
||||
(description
|
||||
|
|
Reference in a new issue