Archived
1
0
Fork 0

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
(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