dannym pushed a commit to branch master
in repository guix.

commit f1bd93f5063162fcaeaada518c395e66d5ac08b8
Author: Simon South <[email protected]>
AuthorDate: Fri Jan 27 15:34:30 2023 -0500

    gnu: nextpnr-ice40: Use gexps.
    
    * gnu/packages/fpga.scm (nextpnr-ice40)[arguments]: Use gexps.
    
    Signed-off-by: Danny Milosavljevic <[email protected]>
---
 gnu/packages/fpga.scm | 11 ++++++-----
 1 file 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.")

Reply via email to