guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#60695] [PATCH 7/9] gnu: nextpnr-ice40: Fix generated version string


From: Simon South
Subject: [bug#60695] [PATCH 7/9] gnu: nextpnr-ice40: Fix generated version string.
Date: Mon, 9 Jan 2023 14:26:01 -0500

* gnu/packages/fpga.scm (nextpnr-ice40)[arguments]<#:configure-flags>: Add
"-DCURRENT_GIT_VERSION".
---
 gnu/packages/fpga.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm
index 947fe05dd0..7649b2bbd6 100644
--- a/gnu/packages/fpga.scm
+++ b/gnu/packages/fpga.scm
@@ -301,6 +301,8 @@ (define-public nextpnr-ice40
       (arguments
        (list #:configure-flags #~(list "-DARCH=ice40"
                                        "-DBUILD_TESTS=ON"
+                                       (string-append "-DCURRENT_GIT_VERSION="
+                                                      #$(string-take commit 8))
                                        (string-append "-DICEBOX_ROOT="
                                                       #$icestorm
                                                       "/share/icebox"))))
-- 
2.38.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]