dannym pushed a commit to branch wip-desktop
in repository guix.
commit 77bcda0434e2a528f7e4fcf3b7f330f7f7ca7c44
Author: Danny Milosavljevic <[email protected]>
AuthorDate: Sun Aug 2 20:54:34 2020 +0200
gnu: seed: Fix tests.
* gnu/packages/gnome.scm (seed)[arguments]<#:phases>[patch-tests]: New
phase.
---
gnu/packages/gnome.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index d92530a..b70671d 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -334,6 +334,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"