guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 0d5caff88ddd32c75fd52332121e3c4f249bf2f4
Author: Cayetano Santos <[email protected]>
AuthorDate: Tue Sep 30 16:05:27 2025 +0200
gnu: nvc: Use autogen and keep osvvm test script.
* gnu/packages/electronics.scm (nvc)<#:phases>: Remove clean-up; add
fix-autogen and keep-osvvm-tests.
Change-Id: Ib14f21b0f072313bba06c2b9dd1d7a7f67270a51
Signed-off-by: Maxim Cournoyer <[email protected]>
---
gnu/packages/electronics.scm | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm
index 4b7f63af7b..17fdf68702 100644
--- a/gnu/packages/electronics.scm
+++ b/gnu/packages/electronics.scm
@@ -1000,9 +1000,17 @@ which allows one to install the M8 firmware on any
Teensy.")
(string-append "--with-bash-completion=" #$output
"/share/bash-completion/completions"))
#:phases #~(modify-phases %standard-phases
- (add-after 'unpack 'clean-up
+ (add-after 'unpack 'fix-autogen
(lambda _
- (delete-file "autogen.sh"))))))
+ (substitute* "autogen.sh"
+ (("cd") "# cd"))))
+ ;; This scripts is necessary for testing osvvm.
+ (add-after 'install 'keep-osvvm-tests
+ (lambda _
+ (mkdir-p (string-append #$output "/test"))
+ (install-file
+ "../source/test/test-osvvm.tcl"
+ (string-append #$output "/test")))))))
(native-inputs
(list automake
autoconf