mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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
|
`(#: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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue