diff options
author | Simon South <simon@simonsouth.net> | 2023-01-27 15:34:32 -0500 |
---|---|---|
committer | Danny Milosavljevic <dannym@friendly-machines.com> | 2024-12-22 12:48:00 +0100 |
commit | 43ed3520e16a4bd69cbe7a9e71021622bf7caf81 (patch) | |
tree | 663dcac64bb24798841d4bd091f7a424163f24f2 | |
parent | 06aec32989720da61f80a768cc7442c19f586d95 (diff) | |
download | guix-43ed3520e16a4bd69cbe7a9e71021622bf7caf81.tar.gz guix-43ed3520e16a4bd69cbe7a9e71021622bf7caf81.zip |
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 <dannym@friendly-machines.com>
-rw-r--r-- | gnu/packages/fpga.scm | 2 |
1 files changed, 2 insertions, 0 deletions
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")))) |