unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#61217] [PATCH] build: Correct guix_system on musl libc distros.
@ 2023-02-01 20:25 Antero Mejr via Guix-patches via
  2023-03-16 11:31 ` bug#61217: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Antero Mejr via Guix-patches via @ 2023-02-01 20:25 UTC (permalink / raw)
  To: 61217; +Cc: Antero Mejr

* m4/guix.m4 (GUIX_SYSTEM_TYPE): Add linux-musl* case. This prevents
the macro from mis-parsing the host OS, which causes breakage when
building from source.
---
 m4/guix.m4 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/m4/guix.m4 b/m4/guix.m4
index 700c0dfd4a..147fcc48f4 100644
--- a/m4/guix.m4
+++ b/m4/guix.m4
@@ -58,6 +58,8 @@ AC_DEFUN([GUIX_SYSTEM_TYPE], [
        linux-gnu*)
 	  # For backward compatibility, strip the `-gnu' part.
 	  guix_system="$machine_name-linux";;
+       linux-musl*)
+	  guix_system="$machine_name-linux";;
        gnu*)
           # Always use i586 for GNU/Hurd.
           guix_system="i586-gnu";;
-- 
2.38.1





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#61217: [PATCH] build: Correct guix_system on musl libc distros.
  2023-02-01 20:25 [bug#61217] [PATCH] build: Correct guix_system on musl libc distros Antero Mejr via Guix-patches via
@ 2023-03-16 11:31 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2023-03-16 11:31 UTC (permalink / raw)
  To: Antero Mejr; +Cc: 61217-done

Hi,

Antero Mejr <antero@mailbox.org> skribis:

> * m4/guix.m4 (GUIX_SYSTEM_TYPE): Add linux-musl* case. This prevents
> the macro from mis-parsing the host OS, which causes breakage when
> building from source.

Finally applied, thanks!

Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-16 11:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-01 20:25 [bug#61217] [PATCH] build: Correct guix_system on musl libc distros Antero Mejr via Guix-patches via
2023-03-16 11:31 ` bug#61217: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).