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:
Robby Zambito 2021-10-19 22:19:36 -04:00 committed by Ludovic Courtès
parent e171182a20
commit d0850dbd34
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -2451,16 +2451,14 @@ compositors.")
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'fix-sleep-path (add-after 'unpack 'fix-sleep-path
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key #:allow-other-keys)
(let ((coreutils (assoc-ref inputs "coreutils"))) (substitute* "./test/startup_failure.py"
(substitute* "./test/startup_failure.py" (("sleep") (which "sleep"))))))))
(("sleep") (string-append coreutils "/bin/sleep")))))))))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config) `(("pkg-config" ,pkg-config)
("scdoc" ,scdoc) ("scdoc" ,scdoc)
;; For tests ;; For tests
("python" ,python) ("python" ,python)))
("coreutils" ,coreutils)))
(home-page "https://gitlab.freedesktop.org/mstoeckl/waypipe") (home-page "https://gitlab.freedesktop.org/mstoeckl/waypipe")
(synopsis "Proxy for Wayland protocol applications") (synopsis "Proxy for Wayland protocol applications")
(description (description