~ruther/guix-local

0d5caff88ddd32c75fd52332121e3c4f249bf2f4 — Cayetano Santos 7 months ago 536b578
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>
1 files changed, 10 insertions(+), 2 deletions(-)

M gnu/packages/electronics.scm
M gnu/packages/electronics.scm => gnu/packages/electronics.scm +10 -2
@@ 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