guix_mirror_bot pushed a commit to branch master
in repository guix.

commit aef95e0af6216a169d632790d12a0d4b27971960
Author: Cayetano Santos <[email protected]>
AuthorDate: Thu Oct 9 15:45:25 2025 +0200

    gnu: nextpnr: Split bba output.
    
    * gnu/packages/electronics.scm (nextpnr)[outputs]: Add bba output.
    [arguments]<#:configure-flags>: Update EXPORT_BBA_FILES accordingly.
    
    Change-Id: I01a60c1be66637e40e6cd8ba797a730c507cf3d4
    Signed-off-by: Maxim Cournoyer <[email protected]>
    Modified-by: Maxim Cournoyer <[email protected]>
---
 gnu/packages/electronics.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm
index 10e30a1f3f..43e7116e6b 100644
--- a/gnu/packages/electronics.scm
+++ b/gnu/packages/electronics.scm
@@ -903,6 +903,7 @@ which allows one to install the M8 firmware on any Teensy.")
                                   "nextpnr-imgui.patch"))
          (sha256
           (base32 "1zjxvkycg5xx605d4ark8gd10w4xni1wd10chmhv983dvyv875br"))))
+      (outputs '("out" "bba"))
       (build-system qt-build-system)
       (arguments
        (list
@@ -920,7 +921,8 @@ which allows one to install the M8 firmware on any Teensy.")
                 (string-append "-DHIMBAECHEL_PEPPERCORN_PATH="
                                (search-input-directory
                                 %build-inputs "share/prjpeppercorn"))
-                (string-append "-DEXPORT_BBA_FILES=" #$output "/bba-files")
+                (string-append
+                 "-DEXPORT_BBA_FILES=" #$output:bba "/share/nextpnr/bba-files")
                 (string-append "-DCURRENT_GIT_VERSION=nextpnr-" #$version)
                 (string-append "-DICESTORM_INSTALL_PREFIX="
                                #$(this-package-native-input "icestorm"))

Reply via email to