When building an image with the "system" parameter set to an emulated
architecture, the xorg-configuration-modules field needs to be evaluated once
the %current-system parameter is set, otherwise this parameter is set to the
current host system.
* gnu/services/xorg.scm (<xorg-configuration>)[modules]: Make it a thunked
field.
Make sure that the executed shell at runtime is the cross-compiled shell and
not the native shell.
* gnu/packages/admin.scm (shadow)[arguments]: Add a set-runtime-shell phase.
[inputs]: Add bash-minimal when cross-compiling.
This causes many rebuilds, but only when cross-compiling.
This should unbreak Internet access on cross-compiled pinebook
images.
Reported-By: Guest4977 (on IRC)
* gnu/gnunet/packages/admin.scm
(isc-dhcp)[arguments]<#:phases>{post-install}: Use the
cross-compiled bash when cross-compiling. Work-around
<https://issues.guix.gnu.org/49290>.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
The i486 target has been removed from qemu since at least 5.2.0.
* gnu/services/virtualization.scm (%i486): Remove variable.
(%qemu-platforms): Remove it.
Fixes <https://issues.guix.gnu.org/40158>.
* gnu/services/base.scm (file-system-shepherd-service): Update doc. Return a
shepherd service for the mount point when either MOUNT? or CREATE? is true.
[start]: Only mount when MOUNT? is true.
(file-system-shepherd-services): Also consider file systems with
create-mount-point? set to #t.
* gnu/packages/django.scm (python-pytest-django): Update to 4.4.0.
[tests?]: Disable test suite.
[native-inputs]: Replace python-pytest-xdist by python-pytest-xdist-next.
[home-page]: Update home page.
Commit ed72e55831 updated the package to 2.1.0, but this version doesn't work
with Pytest 5, the version currently used in Guix. Downgrade to the last
version that is compatible with Pytest 5.
* gnu/packages/check.scm (python-pytest-xdist): Downgrade to 1.34.0, with a
comment explaining why. Strip trailing #t.
[source]: Remove origin modules and snippet field, no longer necessary.
[phases]{check}: Override to run the test suite.
[propagated-inputs]: Remove python-py and add python-pytest-forked.
* gnu/packages/check.scm (python-pytest-mock): Update to 3.6.1.
[phases]{check}: Override to run test suite.
[propagated-inputs]: Add python-pytest-asyncio.
Fixes <https://issues.guix.gnu.org/40997>.
* gnu/bootloader.scm (<bootloader-configuration>): New 'targets' field.
(%bootloader-configuration-target): New procedure.
(bootloader-configuration-target): Add deprecation warning.
(bootloader-configuration-targets): New procedure.
* guix/scripts/system.scm (install): Access targets via
bootloader-configuration-targets.
(perform-action)[bootloader-target]: Remove unused argument and update doc.
Access targets via bootloader-configuration-targets and fix indentation.
(process-action): Access targets via bootloader-configuration-targets.
Do not provide the unused BOOTLOADER-TARGET argument when applying
`perform-action'.
* guix/scripts/system/reconfigure.scm (install-bootloader-program): Rename
DEVICE argument to DEVICES. Adjust doc and comment. Apply `installer' and
`disk-installer' for every DEVICES.
(install-bootloader): Access targets via bootloader-configuration-targets and
rename variable from DEVICE to DEVICES.
* gnu/tests/install.scm: Adjust accordingly.
* tests/guix-system.sh: Likewise.
* gnu/tests/reconfigure.scm (run-install-bootloader-test): Adjust the DEVICES
argument so that it is a list.
* doc/guix.texi: Update doc.
This is a follow-up commit to 38d337a5b7.
* Makefile.am (EXTRA_DIST)[!HAVE_GUILE_LIB]: Add tests/go.scm.
Reported-by: Chris Marusich <cmmarusich@gmail.com>
* gnu/packages/opencl.scm (python-pyopencl)[version]: Update to
2021.2.6.
[source]: Point to new git repository.
[#:phases]: Remove unused phases.
[inputs]: Use unversioned opencl-headers.
[propagated-inputs]: Remove unused inputs.
ocl-icd’s project page is dead and the source code is unavailable.
* gnu/packages/opencl.scm (ocl-icd): Alias to opencl-icd-loader.
(clinfo)[inputs]: Use opencl-icd-loader.
(beignet)[inputs]: Dito.
(pocl)[inputs]: Dito.
(python-pyopencl)[inputs]: Dito.
* gnu/packages/games.scm (leela-zero)[inputs]: Dito.
* gnu/packages/photo.scm (darktable)[inputs]: Dito.
* gnu/packages/rocm.scm (rocm-opencl-runtime)[inputs]: Dito.
Note that this version bump removes the deprecated cl.hpp header
interface.
* gnu/packages/opencl.scm (opencl-clhpp): Update to 2.0.15.
[#:configure-flags]: Remove prefix.
* gnu/packages/geo.scm (josm): Update to 18118.
[inputs]: Add java-jsr305.
[arguments]<#:phases>{fix-jcs}: Replace ICache.NAME_COMPONENT_DELIMITER with
what it points to (":") because its location changed with jcs3.