* gnu/services/virtualization.scm (qemu-binfmt-service-type)[guix-support?]:
Change the default from #f to #t.
* doc/guix.texi (Transparent Emulation with QEMU): Change the default of
‘guix-support?’ from #f to #t. Describe the implication of setting it to #f.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
This separation between the code for dealing with narinfos from the code doing
that for a purpose should make things clearer, and better support components
other that the substitute script in using this code.
This is just moving the code around, no code should have been significantly
changed.
* guix/scripts/substitute.scm (<narinfo>): Move record type to (guix narinfo).
(fields->alist, narinfo-hash-algorithm+value, narinfo-hash->sha256,
narinfo-signature->canonical-sexp, narinfo-maker, read-narinfo,
narinfo-sha256, valid-narinfo?, write-narinfo, narinfo->string,
string->narinfo, equivalent-narinfo?, supported-compression?,
compresses-better?, narinfo-best-uri): Move procedures to (guix narinfo).
(%compression-methods): Move variable to (guix narinfo).
* guix/narinfo.scm: New file.
* Makefile.am (MODULES): Add it.
* po/guix/POTFILES.in: Add 'guix/narinfo.scm'.
Rather than having valid-narinfo? evaluate to #t if
%allow-unauthenticated-substitutes? is set to #t, just use (const #t) for
valid-narinfo? when %allow-unauthenticated-substitutes? is set to #t. This
will allow moving valid-narinfo? in to a (guix substitutes) module.
* guix/scripts/substitute.scm (process-query, process-substitution): Change
the authorized? argument to lookup-narinfo and lookup-narinfos/diverse based
on %allow-unauthenticated-substitutes?.
(valid-narinfo?): Remove use of %allow-unauthenticated-substitutes?.
Previously, thumbnail generation failed, as the gnome-thumbnail-font command
couldn't be found. Using an absolute filename in the .thumbnailer file fixes
this.
Cached failures within .cache/thumbnails/fail/ or similar may need removing
before the effect of this change can be seen.
* gnu/packages/gnome.scm (gnome-font-viewer)[arguments]: Add patch-thumbnailer
phase.
* gnu/packages/lisp-xyz.scm (sbcl-postmodern): Update to 1.32.6.
[inputs]: Add cl-base64, cl-unicode, ironclad, local-time and uax-15.
[arguments]: Add cl-postgres, s-sql and simple-date to 'asd-systems'.
(ecl-postmodern)[arguments]: Add cl-postgres, s-sql and simple-date to
'asd-systems'. Update the 'fix-build' phase.
Co-authored-by: Guillaume Le Vaillant <glv@posteo.net>
* gnu/packages/virtualization.scm (qemu): Add a snippet to fix a bug in the
do_ioctl_ifconf() function of qemu to make ioctl(…, SIOCGIFCONF, …) work for
emulated 64 bit architectures.
The sizeof(struct ifreq) is 40 for 64 bit and 32 for 32 bit architectures.
This structure contains a union of other structures, of which struct ifmap
is the biggest for 64 bit architectures. Calling ioctl(…, SIOCGIFCONF, …)
fills a struct sockaddr of that union, and do_ioctl_ifconf() only considered
that struct sockaddr for the size of the union, which has the same size as
struct ifmap on 32 bit architectures. So do_ioctl_ifconf() assumed a wrong
size of 32 for struct ifreq instead of the correct size of 40 on 64 bit
architectures.
The fix makes do_ioctl_ifconf() handle struct ifmap as the biggest part of
the union, treating struct ifreq with the correct size.
This fixes (@ (guix build syscalls) network-interface-names) when used in
emulated 64 bit architectures.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu/packages/tex.scm (texlive-wasysym)[synopsis]: Refer to the font by
'wasy', not WASY2.
[description]: Likewise. Use code ornaments for the LaTeX package names.