~ruther/guix-local

ref: 2ae3c69679d3619c06ec37bdc458cf522515c11e guix-local/gnu d---------
import: crate: Generate comments with ‘TODO REVIEW:’ prefix.

This distinguishes them from manually added ones.  When committing changes,
these ‘TODO REVIEW’ comments should be addressed and removed first.

If you're working with Rust packaging, please update your local Guix to this
commit to apply the change.

* guix/import/crate.scm (cargo-lock->expressions): Generate comments with
‘TODO REVIEW:’ prefix.
* tests/import/crate.scm ("crate-lockfile-import"): Don't check the exact
comment string.
* doc/guix-cookbook.texi (Common Workflow for Rust Packaging),
* gnu/packages/rust-crates.scm: Adjust accordingly.

Change-Id: I76b914b49be46d04cc61b101b6bc9e31cadb7f07
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Merges: #4567
1232e535 — Hilton Chain 2 months ago
gnu: rust-crates: Add ‘package:’ prefix for replaced crates.

This avoids definitions like
‘(define rust-pipewire-0.8.0.fd3d8f7 rust-pipewire-0.8.0.fd3d8f7)’.

* gnu/packages/rust-crates.scm: Import (gnu packages rust-sources) module with
‘package:’ prefix.
* etc/teams/rust/rust-crates.tmpl,
* doc/guix-cookbook.texi (Cargo Workspaces and Development Snapshots): Adjust
accordingly.

Change-Id: Ie41556d8f30db65e968d8e8238491f1345eeed59
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
d41f3621 — Rutherther a month ago
maint: Register files for dist tarballs.

* Makefile.am: Register missing dist files.
* gnu/local.mk: Register all used patches.
*  gnu/packages/patches/emacs-gnus-desktop-notify-fix-notifications.patch:
Remove unregistered patch.
*  gnu/packages/patches/emacs-gnus-desktop-notify-rescan.patch: Remove
unregistered patch.
*  gnu/packages/patches/libjami-ac-config-files.patch: Remove unregistered
patch.
*  gnu/packages/patches/libjami-sdbus-cpp-v2.patch: Remove unregistered patch.

Fixes: #5691
Merges: #5709
Reported-By: Vagrant Cascadian <vagrant@debian.org>
Change-Id: Ifa05b163b3ad362c5a07efdfd2dac6af88bac18e
b50a7973 — Rutherther a month ago
gnu: qemu: Disable failing migration-test on AArch64.

On some AArch64 devices, like RPi5 or honeycombs used by CI, the test fails.

* gnu/packages/patches/qemu-disable-aarch64-migration-test.patch: New file.
* gnu/packages/virtualization.scm (qemu): Patch it.
* gnu/local.mk (dist_patch_DATA): Register it.

Change-Id: Ica2d31bc53e154637036c13517289c6c78010739
Fixes: #2447
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Merges: #5683
ea0c0bec — Florian Pelz a month ago
installer: Adjust vertical space in the recommended kernel choice.

Proposed in #5555.

* gnu/installer/newt/kernel.scm (run-kernel-page): Add a newline.

Suggested-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I50e156e12539ba86cf9aa12ab6ef92ed145b5578
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
5ce978fa — Rutherther a month ago
installer: run-kernel-page: Ensure Linux Libre is first.

The list box is automatically sorted, putting Hurd in front of Linux Libre.

* gnu/installer/newt/kernel.scm (run-kernel-page): Do not sort.

Change-Id: Id534560e93eee597e1180d766abb7422cd8e547a
e651fdb3 — Andreas Enge a month ago
gnu: kwin: Disable tests on all architectures.

One of them also fails on bordeaux for x86_64.

* gnu/packages/kde-plasma.scm (kwin)[arguments]<#:test-exclude>: Disable
failing aarch64 tests on all architectures.

Change-Id: Ib32f927d0165213f358d6962f27604109cd4be3b
a6a0c82d — Rutherther a month ago
system: install: Add support for more boot devices on AArch64.

The state is not great, there are many unsupported devices in the current
state. This adds support for much more USB controllers than before and also
SD cards.

* gnu/system/install.scm (%installation-initrd-modules): Add a lot of new
modules to support booting on various devices

Change-Id: I523ebe992a7e3740708622899d1209f20eb23e63
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Merges: #5320
0e4fd181 — Artyom V. Poptsov a month ago
gnu: visionfive2: Update the module commentary.

* gnu/system/images/visionfive2.scm: Update the module commentary.

Change-Id: If3d12bb0e3ccb9eaced4eb1e3afe636c7b89896f
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Merges: #4855
ebd886fa — Artyom V. Poptsov a month ago
gnu: linux-libre 6.17-riscv: Enable CONFIG_SCSI_VIRTIO.

* gnu/packages/aux-files/linux-libre/6.17-riscv.conf: Enable
CONFIG_SCSI_VIRTIO.

Change-Id: I60920b484aa585e184f7f6174c334752a591d194
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
f8f2bdc2 — Artyom V. Poptsov a month ago
gnu: install-starfive-visionfive2-uEnv.txt: Set extra options.

* gnu/bootloader/u-boot.scm (install-starfive-visionfive2-uEnv.txt): Set
"boot_targets" and "bootcmd_mmc1".

Change-Id: I0ce157d66e792af605cfdb7cc5dbecf6e5171c5a
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
333e1e5e — Artyom V. Poptsov a month ago
gnu: make-u-boot-installer: Use the original file name.

* gnu/bootloader/u-boot.scm (make-u-boot-installer): Use the original file
name without the Guix store file prefix when installing a plain file.

Change-Id: Ica2707878c1dd5f7d3b805499a0a38ca76e315af
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
7ad0b7ec — Artyom V. Poptsov a month ago
gnu: install-starfive-visionfive2-uEnv.txt: Remove "~%".

* gnu/bootloader/u-boot.scm (install-starfive-visionfive2-uEnv.txt): Remove
an extra "~%" from the file contents.

Change-Id: Ie83ae01702538153017e45da51ce2c3000df7899
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
aa0883d2 — Hugo Buddelmeijer a month ago
gnu: guile-2.2.4: Fix build by using libxcrypt-without-failure-tokens.

* gnu/packages/guile.scm (guile-2.2.4): Use libxcrypt-without-failure-tokens.

Change-Id: I91d4d7287636f34aa64ce8d47736b14c311b7a62
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Merges: #5624
519210ce — Hugo Buddelmeijer a month ago
gnu: Add libxcrypt-without-failure-tokens.

* gnu/packages/crypto.scm (libxcrypt-without-failure-tokens): New variable.

Change-Id: I89f551d2e69f68d7c2440593c00b4dbc4c605b89
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
848fdc7d — Noé Lopez 2 months ago
tests: install: Fix timezone check.

The default timezone is set to Europe/Zaghreb, however the new check
introduced in 0a9eb3f3e2b7a08e6df4db44bc6fd56f2cd34173 was checking for the
one in the operating-system definition, which is Europe/Paris.

* gnu/tests/install.scm (gui-test-program): Explicitely set timezone to
Europe/Paris.

Change-Id: I7b5d327f13760632c9fbc0c1223a6a9bbc624f4d
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Merges: #4977
542db830 — Rutherther a month ago
installer: services: Disable desktop page on Hurd and 32-bit x86.

To prevent confusion, remove possibility to choose the desktop services on
both Hurd and 32-bit x86. As the info text suggests, desktop environments are not
available on Hurd. As for x86, there some of the services do not build. While
it is more idiomatic to fix those services, for the 1.5.0 release, use this
workaround to disable the desktop page. This ensures users aren't left
building something that will fail.

* gnu/installer/newt/services.scm
(run-desktop-environments-cbt-page): No longer show special info on Hurd.
(run-desktop-environments-cbt-page/maybe): Call
run-desktop-environments-cbt-page on architectures that support desktop
environments well.
(run-services-page): Call maybe variant of run-desktop-environments-cbt-page.

Change-Id: I4bb636e4d5bf2b73bfaf276fd359c77402c5c5f7
Fixes: #5400
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Merges: #5503
056dd112 — Rutherther a month ago
installer: partition: Force msdos on Hurd.

Since Hurd always uses Legacy BIOS bootloader, do not offer GPT label.

* gnu/installer/newt/partition.scm (run-label-page): Force MSDOS for Hurd
target.

Change-Id: Ib8bb1175f85e8f6084683a747303e3e19f20be42
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
9448ec6f — Rutherther a month ago
install: Add guix-system-installer executable to system profile.

To allow users in headless consoles to use the graphical installer, add an
executable. This executable is referred to by the console motd, so users
in headless setups will get to know about it.

* gnu/system/install.scm
(installer-command-package): New variable.
(%installation-services): Use it, add it to the profile-service-type

Change-Id: Id2d07b3f190aa17c99c7667c3bb31ae696499dde
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Merges: #5346
94f9177c — Rutherther a month ago
install: Show different motd in headless console.

motd is shown by the pam module, it doesn't support changing what motd gets
displayed easily. The only way to control it is by read permissions on
individual motd files, making files unreadable by the user logging in.

So instead of that, make a custom script that prints different motd,
checking if a temporary file exists. An environment variable would be better
suited for this purpose, but those aren't passed through by PAM.

* gnu/system/install.scm
(%installation-login-pam-service): New variable. Modified login pam service.
(%installation-console-login): New variable. Wrapper around login to create a
file for PAM rule.
(%installation-services): Use new login pam service and wrapper.

Change-Id: I5e05e604b3106390181190559ade62ca5e2db216
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Next