1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-23 17:45:53 +02:00

gnu: corrosion: Honor CARGO_BUILD_TARGET.

This change integrates Rust cross-compilation support from Guix.

* gnu/packages/patches/corrosion-honor-CARGO_BUILD_TARGET.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/cmake.scm (corrosion)[source]: Apply it.

Change-Id: I319f07f49e390ed84286f35aaa0bd3cad2ad70db
This commit is contained in:
Hilton Chain
2025-04-22 20:53:50 +08:00
parent 8605db19fd
commit 141d39db98
3 changed files with 30 additions and 1 deletions
+3 -1
View File
@@ -508,7 +508,9 @@ format (either JSON or XML).
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1bylfjji4yw88r00hgb69nfl9lz73bhc7q3n64myif4alr4b8ypx"))))
(base32 "1bylfjji4yw88r00hgb69nfl9lz73bhc7q3n64myif4alr4b8ypx"))
(patches
(search-patches "corrosion-honor-CARGO_BUILD_TARGET.patch"))))
(build-system cmake-build-system)
(arguments
(list