mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-05-31 22:30:36 +02:00
fix(guix): accept local muslx32 bootstrap Guile host type
This commit is contained in:
parent
ada618239b
commit
2a58e2c1d3
1 changed files with 18 additions and 0 deletions
|
|
@ -0,0 +1,18 @@
|
|||
--- guix-1.5.0/tests/guix-environment.sh
|
||||
+++ guix-1.5.0/tests/guix-environment.sh
|
||||
@@ -136,10 +136,13 @@
|
||||
case "`uname -m`" in
|
||||
x86_64)
|
||||
# On x86_64, we should be able to create a 32-bit environment.
|
||||
+ # This bootstrap uses the locally built muslx32 Guile seed for the
|
||||
+ # i686-linux bootstrap input, so %host-type reports the seed's actual
|
||||
+ # ABI instead of upstream Guix's historical i686 bootstrap triplet.
|
||||
guix environment --bootstrap --ad-hoc guile-bootstrap --pure \
|
||||
-- guile -c '(exit (string-prefix? "x86_64" %host-type))'
|
||||
guix environment --bootstrap --ad-hoc guile-bootstrap --pure \
|
||||
-s i686-linux \
|
||||
- -- guile -c '(exit (string-prefix? "i686" %host-type))'
|
||||
+ -- guile -c '(exit (string=? "x86_64-pc-linux-muslx32" %host-type))'
|
||||
;;
|
||||
*)
|
||||
echo "nothing to do" >&2
|
||||
Loading…
Add table
Add a link
Reference in a new issue