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>
This commit is contained in:
Cayetano Santos 2025-09-30 16:05:27 +02:00 committed by Maxim Cournoyer
parent 536b57810a
commit 0d5caff88d
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -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