* gnu/packages/bash-minimal.scm (bash)[arguments]: When building
for x86-linux, also use CFLAGS in #:configure-flags to relax gcc-14's strictness.
Change-Id: I21af1acdc550c83e63241811a6586598f187b2ef
* gnu/packages/commencement.scm (gcc-boot0)[inputs]: When building for
powerpc64le-linux use libstdc++-boot0 from gcc-5.
Change-Id: I21df5ba91dcff9f6b83977996ef2d15306ab6ca9
* gnu/packages/commencement.scm (gcc-boot0)[arguments]: When building for
x86-linux, add phase "patch-system.h" to substitute fix SIZE_MAX macro.
Change-Id: I6e552aaa458755ec920873a0535f599c88a1f74f
Fixes <https://issues.guix.gnu.org/70826>.
When using ‘luks-device-mapping-with-options’, procedures such as
‘operating-system-boot-mapped-devices’ would fail to identify LUKS
mapped devices because they would check whether the mapped device type
is ‘eq?’ to ‘luks-device-mapping’.
This addresses that by ensuring mapped devices are always of the
‘luks-device-mapping’ type, even when different options are used.
* gnu/system/mapped-devices.scm (close-luks-device): Add #:rest.
(luks-device-mapping-with-options): Deprecate.
* gnu/tests/install.scm (%encrypted-home-os-key-file): Update
accordingly.
* doc/guix.texi (Mapped Devices): Document use of the ‘arguments’ field
of ‘luks-device-mapping’. Remove ‘luks-device-mapping-with-options’
documentation.
(Bootloader Configuration): Update example with key file in extra
initrd.
Change-Id: I5442908cb8ef4e3891dbb053cccf5e42b895486f
Reported-by: Tadhg McDonald-Jensen <tadhgmister@gmail.com>
Fixes <https://issues.guix.gnu.org/70826>.
This allows users to specify extra arguments specific to the underlying
mapped device type.
* gnu/system/mapped-devices.scm (<mapped-device>)[arguments]: New field.
(device-mapping-service-type): Honor it.
* guix/scripts/system.scm (check-mapped-devices): Likewise.
* gnu/system/linux-initrd.scm (raw-initrd): Likewise.
* doc/guix.texi (Mapped Devices): Document it.
Reported-by: 45mg <45mg.writes@gmail.com>
Change-Id: Idef5a3e68535c412f13bae9a92c81c49053d4f4a
* gnu/tests/foreign.scm (qcow-image-with-marionette): Remove the “10G”
argument to ‘qemu-img create’ since it could lead to corrupt
images—e.g., with the Arch Linux image.
Change-Id: I92d7551a16f325376c98d32e2cd6a01f8ed05e51
* gnu/tests/foreign.scm (qcow-image-with-marionette)[build]: Call
‘error’ when ‘mount’ exits with a non-zero code.
Change-Id: I7c608e0aa7dff1447c9df778951d7a5256e47255
* gnu/system/examples/devel-hurd.tmpl (guix-packages): Also remove
slirp4netns; it is a Linux-specific dependency that does not build for the
Hurd.
Change-Id: I5bca0f44b32d09dd4baa86a6d47d33133a4339c6
* guix/lint.scm (check-compiler-for-target): Adjust the logic when
checking the make-flags to actually determine if it is a gexp or not.
* tests/lint.scm (compiler-for-target: looks through G-expressions): Fix
test.
Change-Id: I0040cf29c8197d394e63ac90b2fba7ca5bcb5861
The patch 'hdf5-config-dependencies.patch' added 'find_dependency' calls for
libaec and zlib in hdf5-config.cmake. As a result, packages that use
find_package(HDF5) in CMake Config mode must have libaec and zlib in the build
environment. The patch appears to be unnecessary; it should be sufficient to
add libaec and zlib as inputs to packages that need them.
Related discussion in: <https://codeberg.org/guix/guix/pulls/953>.
* gnu/packages/maths.scm (hdf5): Do not propagate dependencies.
[source]<patches>: Remove hdf5-config-dependencies.patch.
* gnu/packages/image-processing.scm (insight-toolkit) [inputs]: Remove
libaec.
* gnu/packages/patches/hdf5-config-dependencies.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Deregister hdf5-config-dependencies.patch.
Change-Id: Idef61308cd146e898d1a4a8f1a97db23d36fc649
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This propagates the fix for hdf5 introduced in commit
53b23512ee.
* gnu/packages/maths.scm (hdf5-parallel-openmpi): Inherit configuration flags from hdf5.
Signed-off-by: Andreas Enge <andreas@enge.fr>
* gnu/packages/sagemath.scm (sage)[inputs]: Remove giac.
It is a big package, and the interface with sage does not work currently.
Co-authored-by: Vinicius Monego <monego@posteo.net>
Change-Id: I70310a6036cbf32afafcb6955a2825ea87931014
Defaults should be set in guix/build-system/guile.scm rather than
guix/build/guile-build-system.scm, to disambiguate at first sight
where those defaults are set.
* guix/build-system/guile.scm (guile-build)
<#:not-compiled-file-regexp>: Add default.
* guix/build/guile-build-system.scm (build): Remove unused keyword
defaults.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This allows use of ‘guix gc --verify=repair’ when running guix-daemon as
an unprivileged user.
* nix/nix-daemon/nix-daemon.cc (acceptConnection): Consider the current
user as trusted.
Reported-by: David Elsing <david.elsing@posteo.net>
Change-Id: I559e56cf0640e8dc9bbc510317aa2bdc024ff681
Fixesguix/guix#664.
This is necessary when running ‘guix-daemon’ as an unprivileged user and
also when running ‘guix weather’ as an unprivileged user.
* guix/pki.scm (ensure-acl): Make ‘%acl-file’ #o644.
* guix/scripts/archive.scm (authorize-key): Likewise.
* guix/ssh.scm (remote-authorize-signing-key): Likewise.
Change-Id: I3c979b2cdf52e7cb657d8fafa244c58854e7fb67
* libutil/util.h (waitForMessage): Use std::string instead of char* to unify coding style.
* libutil/util.cc (waitForMessage): Use std::string instead of variable-length array (VLA).
(readLink, copyFileRecursively, expect): Use std::vector instead of VLA.
* libutil/hash.cc (printHash): Use std::vector instead of VLA.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu/packages/task-management.scm (clikan): Convert to use modern style.
[arguments]: Convert to modern style.
[native-inputs]: Convert to modern style.
[inputs]: Convert to modern style.
Change-Id: Ifd584b6bdf26331e9ea896d36d7e0533e9ab3558