Commit graph

102715 commits

Author SHA1 Message Date
Mathieu Othacehe 7c2b09f924
ci: Honor the system passed to image->job.
Fixes: <https://issues.guix.gnu.org/53480>.

* gnu/ci.scm (image->job): Pass the system argument to the underlying
lower-object call.
2022-10-13 17:28:46 +02:00
Ludovic Courtès 8b192c5550
shell: Handle '--emulate-fhs' in 'guix shell', not in 'guix environment'.
Previously, using 'guix shell -CF coreutils' twice (such that the
profile is cache) would result in:

  guix shell: error: '--profile' cannot be used with package options

This patch fixes it by moving argument handling to (guix scripts shell),
before 'options-with-caching' is called.

* guix/scripts/environment.scm (show-environment-options-help)
(%options): Remove '--emulate-fhs'.
(guix-environment*): Pass OPTS as-is to 'options/resolve-packages'.
* guix/scripts/shell.scm (show-help, %options): Add '--emulate-fhs'.
Add the (expression . ...) component to RESULT right from the argument
handler.
* tests/guix-environment-container.sh: Change '--emulate-fhs' tests to
use 'guix shell' instead of 'guix environment'.
2022-10-13 15:56:56 +02:00
jgart 10d429f2fc
gnu: entr: Update to 5.2.
* gnu/packages/entr.scm (entr): Update to 5.2.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-10-13 12:28:16 +01:00
jgart f22bc5fd5e
gnu: micropython: Update to 1.19.
* gnu/packages/python.scm (micropython): Update to 1.19.

v2 adds my copyright declaration. thnx!

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-10-13 12:28:15 +01:00
Simon Streit 5dec941818
gnu: cantata: Update to 2.5.0.
* gnu/packages/mpd.scm (cantata): Update to 2.5.0.
[inputs]: Add "avahi" and "musicbrainz".

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-10-13 12:28:15 +01:00
Michael Rohleder d1ad0a2ec2
gnu: nheko: Update to 0.10.2.
* gnu/packages/messaging.scm (nheko): Update to 0.10.2.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-10-13 12:28:15 +01:00
Adam Kandur bf59d83699
gnu: Add go-github-com-savsgio-gotils.
* gnu/packages/golang.scm (go-github-com-savsgio-gotils): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-10-13 12:28:15 +01:00
Nicolas Graves 33f56db654
gnu: libfido2: Install udev rules.
* gnu/packages/security-token.scm (libfido2)[arguments]: Add a configure flag
specifying the installation directory of the udev rule.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-10-13 12:27:52 +01:00
EuAndreh a9268695e0
services: nginx: Add reload action.
In a new "reload" shepherd-action, send a SIGHUP to the NGINX master process,
so that it can re-read the configuration file and start new worker processes.

* gnu/services/web.scm (nginx-shepherd-service): Add the "reload"
shepherd-action.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-10-13 12:27:35 +01:00
Nicolas Goaziou d8271d8193
gnu: emacs-emacsql: Update to 3.1.0.
* gnu/packages/emacs-xyz.scm (emacs-emacsql): Update to 3.1.0.
2022-10-13 12:53:09 +02:00
Nicolas Goaziou 88ed4692d1
gnu: emacs-lcr: Update to 1.5.
* gnu/packages/emacs-xyz.scm (emacs-lcr): Update to 1.5.
2022-10-13 12:53:08 +02:00
Nicolas Goaziou 6bb130d64b
gnu: mgba: Update to 0.10.0.
* gnu/packages/emulators.scm (mgba): Update to 0.10.0.
2022-10-13 12:53:08 +02:00
Nicolas Goaziou 7ca86fdf20
gnu: emacs-taxy-magit-section: Update to 0.12.
* gnu/packages/emacs-xyz.scm (emacs-taxy-magit-section): Update to 0.12.
2022-10-13 12:53:08 +02:00
Nicolas Goaziou dcdb074ecf
gnu: emacs-project: Update to 0.8.2.
* gnu/packages/emacs-xyz.scm (emacs-project): Update to 0.8.2.
2022-10-13 12:52:59 +02:00
Denis 'GNUtoo' Carikli cc58a0c627
gnu: epiphany: Use 'librsvg-for-system'.
This adds support for non x86_64 architectures.

* gnu/packages/gnome.scm (epiphany)[inputs]: Use
  'librsvg-for-system' instead of 'librsvg'.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-10-13 11:08:13 +01:00
jgart 7db94d8e54
gnu: Add ghc-open-browser.
* gnu/packages/haskell-xyz.scm (ghc-open-browser): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-10-13 11:08:13 +01:00
Thomas Albers 8559b70031
gnu: Add hiredis.
* gnu/packages/databases.scm (hiredis): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-10-13 11:08:09 +01:00
Christopher Baines aabd7a0526
gnu: guix-build-coordinator: Update to 0-63.b15be71.
* gnu/packages/package-management.scm (guix-build-coordinator): Update to
0-63.b15be71.
2022-10-13 10:44:23 +01:00
Christopher Baines 166faae8d8
gnu: linux: Add powerpc64le-linux as a supported system.
To the generic kernel packages.

I noticed this was lacking because of a test failure when building the guix
package for powerpc64le-linux, but it should be a generally useful change.

* gnu/packages/linux.scm (linux-libre-5.19, linux-libre-5.15,
linux-libre-5.10, linux-libre-5.4, linux-libre-4.19, linux-libre-4.14,
linux-libre-4.9): Include powerpc64le-linux as a supported system.
2022-10-13 10:39:24 +01:00
Mathieu Othacehe d2ca9334a3
NEWS: Update it.
* NEWS: Add an entry about 'guix shell' --emulate-fhs option.
2022-10-13 10:49:19 +02:00
Mathieu Othacehe 91d817cc17
installer: partition: Add a confirmation page before formatting.
Fixes: <https://issues.guix.gnu.org/57232>.

* gnu/installer/newt/partition.scm (run-label-confirmation-page): New
procedure.
(run-label-page): Call the above procedure before proceeding.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-10-13 10:48:08 +02:00
Ludovic Courtès 2c11e857af
news: Add entry for 'guix shell --emulate-fhs'.
* etc/news.scm: Add entry.
2022-10-13 09:34:15 +02:00
John Kehayias c7ba5f38b8
environment: Add '--emulate-fhs'.
* guix/scripts/environment.scm (show-environment-options-help, %options): Add
'--emulate-fhs'.
(setup-fhs): New procedure.  Setup for the Filesystem Hierarchy Standard (FHS)
container.  Defines and uses FHS-SYMLINKS and LINK-CONTENTS to create FHS
expected directories and creates /etc/ld.so.conf.
(launch-environment): Add 'emulate-fhs?' key and implement it to set $PATH and
generate /etc/ld.so.cache before calling COMMAND.
(launch-environment/container): Add 'emulate-fhs?' and 'setup-hook' keys and
implement them.  Define and use FHS-MAPPINGS, to set up additional bind mounts
in the container to follow FHS expectations.
(guix-environment*): Add glibc-for-fhs to the container packages when
'emulate-fhs?' key is in OPTS.
* doc/guix.texi (Invoking guix shell): Document '--emulate-fhs'.
(Invoking guix environment): Document '--emulate-fhs'.
* tests/guix-environment-container.sh: Add tests for '--emulate-fhs'.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-10-13 09:19:08 +02:00
John Kehayias 3d1d29e440
gnu: Add glibc-for-fhs.
* gnu/packages/base.scm (glibc-for-fhs): New variable. Hidden package for use
in forthcoming --emulate-fhs option for guix containers.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-10-13 09:19:08 +02:00
Nicolas Graves via Guix-patches via 910f2b5d88
gnu: Add ydotool.
* gnu/packages/xdisorg.scm (ydotool): New variable.

Signed-off-by: Andrew Tropin <andrew@trop.in>
2022-10-13 11:09:29 +04:00
( via Guix-patches via 4ab434958b
gnu: home: Add home-dbus-service-type.
* gnu/home/services/desktop.scm (home-dbus-service-type): New variable.
(home-dbus-configuration): New record type.
* doc/guix.texi: Document them.

Signed-off-by: Andrew Tropin <andrew@trop.in>
2022-10-13 09:05:46 +04:00
Liliana Marie Prikler 4bc5383b3b
gnu: mcg: Cleanup style.
* gnu/packages/mpd.scm (mcg)[source]: Indent as with ‘guix style’.
[arguments]: Convert to list of G-Expressions.
[inputs, native-inputs]: Move below arguments.
2022-10-12 21:14:12 +02:00
Simon Streit 24418eeb00
gnu: mcg: Update to 3.1.
* gnu/packages/mpd.scm (mcg): Update to 3.1.
[native-inputs]: Use the new inputs style.
Add desktop-file-utils, gettext-minimal and gtk+:bin.
[inputs]: Add python.
[build-system]: Change to meson-build-system.
[arguments]<#:imported-modules,#:modules>: Remove.
<#:glib-or-gtk?>: Set to #t.
<#:phases>: Delete ‘glib-or-gtk-wrap’.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-10-12 21:12:38 +02:00
Liliana Marie Prikler df9f0ac254
gnu: mcg: Use new input style.
* gnu/packages/mpd.scm (mcg)[inputs]: Re-indent according to ‘guix style’.
[native-inputs]: Drop labels.
2022-10-12 21:09:33 +02:00
Eric Bavier 86ec52f667
gnu: cool-retro-term: Fixes font loading.
This addresses <https://issues.guix.gnu.org/58451>

* gnu/packages/terminals.scm (cool-retro-term)[source]: In snippet for font
handling, adjust regexp to account for possible presence of whitespace.
2022-10-12 09:28:48 -05:00
Marius Bakke e1baf802cc
gnu: Register (gnu packages bqn) in build infrastructure.
This is a follow-up to commit 9aa2a41b47.

* gnu/local.mk (GNU_SYSTEM_MODULES): Add gnu/packages/bqn.scm.
2022-10-12 11:09:38 +02:00
Marius Bakke 2d2afb4cf3
gnu: ungoogled-chromium: Update to 106.0.5249.103-1.
* gnu/packages/chromium.scm (%chromium-version): Set to 106.0.5249.103.
(%ungoogled-origin, ungoogled-chromium): Update hashes.
2022-10-12 10:46:36 +02:00
Maxim Cournoyer e46bb5fd5a
guix-install.sh: Restore compatibility with "yes" invocation.
Commit 6a2e303d3a had modified prompt_yes_no to only read a single character,
aiming to ease the user experience.  This was, in retrospect, a bad idea, as
it makes user input error more likely and introduces complexity.

This commit reverts to line-oriented input, while preserving the default yes
value so that a user can simply hit 'Enter' at the prompt in place of typing
"yes".

* etc/guix-install.sh (_flush): Delete function.
(prompt_yes_no): Restore line-oriented read.  Remove loop.  Make anything else
than yes means no.  Use Bash features to streamline definition.

Reported-by: Lars-Dominik Braun <lars@6xq.net> and others.
2022-10-11 12:00:44 -04:00
mirlan 68d79a8b60
gnu: Add libskk.
* gnu/packages/language.scm (libskk): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-10-11 16:05:32 +02:00
Tanguy Le Carrour f5fd741474
gnu: profanity: Update to 0.13.0.
* gnu/packages/messaging.scm (profanity): Update to 0.13.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-10-11 16:05:32 +02:00
Tanguy Le Carrour 4e769c1d27
gnu: libstrophe: Update to 0.12.2.
* gnu/packages/messaging.scm (libstrophe): Update to 0.12.2.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-10-11 16:05:32 +02:00
Ludovic Courtès ff324d3814
gnu: mmg: Add dependency on Perl.
* gnu/packages/graphics.scm (mmg)[native-inputs]: Add PERL.
2022-10-11 16:05:32 +02:00
jgart f8529b9eec
gnu: gtkwave: Update to 3.3.113.
* gnu/packages/fpga.scm (gtkwave): Update to 3.3.113.
[inputs]: Use new style.
[arguments]: Use gexp.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-10-11 16:05:32 +02:00
Michael Rohleder 49ed67692d
gnu: python-pydyf: Update to 0.3.0.
* gnu/packages/pdf.scm (python-pydyf): Update to 0.3.0.
[arguments]: Add phases to replace build and install phases.
[native-inputs]: Add python-flit-core, python-pypa-build.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-10-11 16:05:32 +02:00
Ludovic Courtès ac338620bc
gnu: emacs-guix: Remove input labels.
* gnu/packages/emacs-xyz.scm (emacs-guix)[inputs]: Remove labels.
2022-10-11 16:05:32 +02:00
Ludovic Courtès 58a671f344
gnu: emacs-guix: Update to cf5b7a4.
* gnu/packages/emacs-xyz.scm (emacs-guix): Update to cf5b7a4.
[home-page]: Update.
2022-10-11 16:05:31 +02:00
Ludovic Courtès 22b9734b67
Revert "guix system: Remove unused 'read-operating-system' procedure."
This reverts commit d11a432adf.

The 'read-operating-system' is used in Emacs-Guix.
2022-10-11 16:05:31 +02:00
Ludovic Courtès 602527ab97
git: Factorize 'commit-id?' predicate.
* guix/git.scm (commit-id?): New procedure, copied from (guix swh).
(resolve-reference): Use it instead of inline code.
* guix/inferior.scm (channel-full-commit): Likewise.
2022-10-11 16:05:31 +02:00
Ludovic Courtès 7d9fd1d7b7
guix import: Add a blank line after each package definition.
Starting from commit 371a83b764, 'guix
import crate -r' (or similar) would no longer print a blank line in
between definitions.  This patch fixes it.

Reported by jgart <jgart@dismail.de>.

* guix/scripts/import.scm (guix-import): Add second 'newline' call.
2022-10-11 16:05:31 +02:00
Maxim Cournoyer f78cfcd7d3
system: operating-system: Make the timezone field default to Etc/UTC.
* gnu/system.scm (<operating-system>) [timezone]: Default to "Etc/UTC".
2022-10-11 11:29:03 +00:00
Maxim Cournoyer 683558e2ed
services: slim-service-type: Do not extend profile with xterm.
This is not done for gdm-service-type, so do not do it here either, for
consistency.  Perhaps that change had been motivated by the fact that using
ratpoison without a default terminal makes for a poor user experience (one
cannot even view the help screen without a terminal); this was fixed with the
preceding commit.

* gnu/services/xorg.scm (slim-service-type)
[profile-service-type]: Remove extension.
2022-10-11 11:29:03 +00:00
Maxim Cournoyer 6b650fde41
gnu: ratpoison: Reference xterm absolutely.
* gnu/packages/ratpoison.scm (ratpoison) [configure-flags]: Specify the
'--with-xterm' configure flag.
[inputs]: Add xterm.
2022-10-11 11:29:02 +00:00
Maxim Cournoyer a664f453d5
gnu: ratpoison: Use gexps and remove input labels.
* gnu/packages/ratpoison.scm (ratpoison) [phases]: Use gexps.
[inputs, native-inputs]: Remove input labels.
2022-10-11 11:29:02 +00:00
Maxim Cournoyer 64e8ed1061
gnu: icedove: Use gexps.
* gnu/packages/gnuzilla.scm (icedove) [arguments]: Use gexps, adjusting phases
as needed.
2022-10-11 11:29:02 +00:00
Maxim Cournoyer f81abf3898
gnu: libreoffice: Move inputs below arguments and fix indentation.
* gnu/packages/libreoffice.scm (libreoffice) Fix indentation.
[native-inputs, inputs]: Move below...
[arguments]: ... this field.
2022-10-11 11:29:02 +00:00