aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon South <simon@simonsouth.net>2023-01-27 15:34:30 -0500
committerDanny Milosavljevic <dannym@friendly-machines.com>2024-12-22 12:48:00 +0100
commitf1bd93f5063162fcaeaada518c395e66d5ac08b8 (patch)
tree53e19a63a4bf4f06086b857d007f68fb3fc96c4f
parent57188b8b05fae65805ba83ded605b8b4e6b53ae1 (diff)
downloadguix-f1bd93f5063162fcaeaada518c395e66d5ac08b8.tar.gz
guix-f1bd93f5063162fcaeaada518c395e66d5ac08b8.zip
gnu: nextpnr-ice40: Use gexps.
* gnu/packages/fpga.scm (nextpnr-ice40)[arguments]: Use gexps. Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
-rw-r--r--gnu/packages/fpga.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm
index 04ebb07e35..450b774efd 100644
--- a/gnu/packages/fpga.scm
+++ b/gnu/packages/fpga.scm
@@ -307,11 +307,12 @@ Includes the actual FTDI connector.")
yosys))
(build-system cmake-build-system)
(arguments
- `(#:configure-flags `("-DARCH=ice40"
- ,(string-append "-DICEBOX_ROOT="
- (assoc-ref %build-inputs "icestorm")
- "/share/icebox"))
- #:tests? #f))
+ (list #:configure-flags
+ #~(list "-DARCH=ice40"
+ (string-append "-DICEBOX_ROOT="
+ #$(this-package-input "icestorm")
+ "/share/icebox"))
+ #:tests? #f))
(synopsis "Place-and-Route tool for FPGAs")
(description "Nextpnr aims to be a vendor neutral, timing driven,
FOSS FPGA place and route tool.")