summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCayetano Santos <csantosb@inventati.org>2025-09-30 16:05:27 +0200
committerMaxim Cournoyer <maxim@guixotic.coop>2025-10-01 06:49:59 +0900
commit0d5caff88ddd32c75fd52332121e3c4f249bf2f4 (patch)
tree5eca54fb00899e596a433ddf309d90c54c7b50b9
parent536b57810a91ffb870f6bcb1d087af7351b144f7 (diff)
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 <maxim@guixotic.coop>
-rw-r--r--gnu/packages/electronics.scm12
1 files changed, 10 insertions, 2 deletions
diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm
index 4b7f63af7b0..17fdf687028 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