guix_mirror_bot pushed a commit to branch master
in repository guix.

commit ba63639d492076d65012c9690b159b7ef90c05e4
Author: Hilton Chain <[email protected]>
AuthorDate: Tue Feb 17 20:52:46 2026 +0800

    gnu: fish: Support cross-compilation.
    
    * gnu/packages/shells.scm (fish) [arguments] <#:configure-flags>: Set
    Rust_CARGO_TARGET.
    
    Change-Id: Id83265df8617b4a686cef25b6b81e2437501081c
---
 gnu/packages/shells.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index e0a995da7a..5d09c9e8dd 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -164,6 +164,8 @@ direct descendant of NetBSD's Almquist Shell 
(@command{ash}).")
     (arguments
      (list
       #:out-of-source? #f
+      #:configure-flags
+      #~(list (string-append "-DRust_CARGO_TARGET=" #$(cargo-triplet)))
       #:imported-modules
       (append %cargo-build-system-modules
               %cmake-build-system-modules)

Reply via email to