3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: seed: Fix tests.

* gnu/packages/gnome.scm (seed)[arguments]<#:phases>[patch-tests]: New phase.
This commit is contained in:
Danny Milosavljevic 2020-08-02 20:54:34 +02:00
parent 7295171e26
commit 14528483fb
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -329,6 +329,12 @@ bindings.")
"configure"
"Makefile.in"))
#t))
(add-after 'unpack 'patch-tests
(lambda* (#:key outputs #:allow-other-keys)
(substitute* (find-files "." "\\.js$")
(("#!/usr/bin/env seed")
(string-append "#!" (getcwd) "/src/seed")))
#t))
(add-before 'build 'patch-docbook-xml
(lambda* (#:key inputs #:allow-other-keys)
(with-directory-excursion "doc"