me
/
guix
Archived
1
0
Fork 0

gnu: seed: Fix tests.

* gnu/packages/gnome.scm (seed)[arguments]<#:phases>[patch-tests]: New phase.
master
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
1 changed files with 6 additions and 0 deletions

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"