From 14528483fb78fbeb8fcb6136c080799b58b31854 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Sun, 2 Aug 2020 20:54:34 +0200 Subject: 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 2abb73a175..6923522e18 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -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" -- cgit v1.2.3