From 43ed3520e16a4bd69cbe7a9e71021622bf7caf81 Mon Sep 17 00:00:00 2001 From: Simon South Date: Fri, 27 Jan 2023 15:34:32 -0500 Subject: gnu: nextpnr-ice40: Fix generated version string. * gnu/packages/fpga.scm (nextpnr-ice40)[arguments]<#:configure-flags>: Add "-DCURRENT_GIT_VERSION". Signed-off-by: Danny Milosavljevic --- gnu/packages/fpga.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm index a81c6aab26..8076c0fa44 100644 --- a/gnu/packages/fpga.scm +++ b/gnu/packages/fpga.scm @@ -311,6 +311,8 @@ Includes the actual FTDI connector.") (list #:configure-flags #~(list "-DARCH=ice40" "-DBUILD_TESTS=ON" + (string-append "-DCURRENT_GIT_VERSION=" + #$(string-take commit 8)) (string-append "-DICEBOX_ROOT=" #$(this-package-input "icestorm") "/share/icebox")))) -- cgit v1.2.3