guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

214/334: gnu: seed: Fix tests.


From: guix-commits
Subject: 214/334: gnu: seed: Fix tests.
Date: Sat, 15 Aug 2020 16:27:11 -0400 (EDT)

dannym pushed a commit to branch wip-desktop
in repository guix.

commit 05279b83e2a8842de6bcb30293945e81341b7d81
Author: Danny Milosavljevic <dannym@scratchpost.org>
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 8593fc3..1545ff5 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -333,6 +333,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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]