Commit graph

100800 commits

Author SHA1 Message Date
Ludovic Courtès
67a6828b2b
pull: Create a version 3 manifest.
This makes the profile readable by older Guix instances.  This is a
followup to c9fbd40785.

Fixes <https://issues.guix.gnu.org/57306>.
Reported by Arun Isaac <arunisaac@systemreboot.net>.

* guix/profiles.scm (%manifest-format-version): Export.
* guix/scripts/package.scm (build-and-use-profile): Add #:format-version
and pass it to 'profile-derivation'.
* guix/scripts/pull.scm (build-and-install): Pass #:format-version 3.
2022-08-31 12:34:10 +02:00
Ludovic Courtès
270e1b9e1e
reconfigure: Use 'current-channels' to obtain provenance data.
This reinstates a modified version of
b08439809f, which contained a thinko.

Previously, build-time metadata from (guix config) would be ignored when
available--e.g., when running /run/current-system/profile/bin/guix.

This is a followup to 316fc2acbb.

* guix/scripts/system/reconfigure.scm (check-forward-update): Use
'current-channels' rather than 'current-profile' + 'profile-channels'.
2022-08-31 11:40:06 +02:00
Ricardo Wurmus
36445e4d96
gnu: pigx-bsseq: Update to 0.1.8.
* gnu/packages/bioinformatics.scm (pigx-bsseq): Update to 0.1.8.
2022-08-31 09:12:03 +02:00
Mădălin Ionel Patrașcu
8c5246677c
gnu: r-dyngen: Update to 1.0.4.
* gnu/packages/bioinformatics.scm (r-dyngnen): Update to 1.0.4.
[source]: Change to cran-uri source.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2022-08-30 23:01:58 +02:00
Efraim Flashner
18861877c8
gnu: parallel: Update to 20220822.
* gnu/packages/parallel.scm (parallel): Update to 20220822.
2022-08-30 22:12:08 +03:00
Efraim Flashner
1dfa3a9fc8
gnu: qutebrowser: Update to 2.5.2.
* gnu/packages/web-browsers.scm (qutebrowser): Update to 2.5.2.
2022-08-30 22:12:08 +03:00
Efraim Flashner
c7df8a026c
gnu: translate-shell: Update to 0.9.7.
* gnu/packages/dictionaries.scm (translate-shell): Update to 0.9.7.
[arguments]: Remove trailing #t from phases.
2022-08-30 22:12:07 +03:00
Efraim Flashner
4fb1fb904b
gnu: git-annex: Update to 10.20220822.
* gnu/packages/haskell-apps.scm (git-annex): Update to 10.20220822.
[arguments]: Remove trailing #t from phases.
2022-08-30 22:11:59 +03:00
Efraim Flashner
9583cbf29c
gnu: tig: Update to 2.5.7.
* gnu/packages/version-control.scm (tig): Update to 2.5.7.
2022-08-30 21:46:46 +03:00
Efraim Flashner
16ee7f1f62
gnu: tree: Update to 2.0.3.
* gnu/packages/admin.scm (tree): Update to 2.0.3.
2022-08-30 21:34:20 +03:00
Mathieu Othacehe
73fb14c28a
tests: image: New test.
Add a new image test module to validate the image creation itself. The images
structures are validated using guile-parted. Checking the content of those
images is out of scope and should be performed in other modules (installation
for instance).

* gnu/tests/image.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
2022-08-30 19:29:58 +02:00
Mathieu Othacehe
6454164412
scripts: system: Check the image operating-system.
* guix/scripts/system.scm (process-action): Check that the provided image has
a defined operating-system.
2022-08-30 19:29:58 +02:00
Mathieu Othacehe
0518a88a4e
image: Remove an unused field.
* gnu/image.scm (<partition>)[device]: Remove it.
2022-08-30 19:29:58 +02:00
Mathieu Othacehe
bce7a28a0a
image: Perform more sanitizing.
* gnu/image.scm (validate-size, validate-partition-offset,
validate-partition-flags): New macros.
(<partition>)[size, offset, flags]: Sanitize those fields using the above
procedures respectively.
2022-08-30 19:29:58 +02:00
Mathieu Othacehe
192b7d0c0b
build: image: Make partition uuid optional.
The uuid field of <partition> defaults to #false. This should be reflected
when creating the partition.

* gnu/build/image.scm (make-ext-image): Make it optional.
2022-08-30 19:29:58 +02:00
Mathieu Othacehe
61bbff9d50
build: image: Remove unused variable.
* gnu/build/image.scm (make-ext-image): Remove the unused flags variable.
2022-08-30 19:29:58 +02:00
Marius Bakke
db2444ad82
gnu: Introduce versioned 'openssl-1.1' variable.
...and use it in packages that do not yet support 3.0.

* gnu/packages/tls.scm (openssl): Rename to ...
(openssl-1.1): ... this.
(openssl/fixed): Inherit from OPENSSL-1.1.
(openssl-3.0): Likewise.
(openssl): Turn into alias for OPENSSL-1.1.
* gnu/packages/ruby.scm (ruby-2.6)[inputs]: Change from OPENSSL to OPENSSL-1.1.
(ruby-3.0)[inputs]: Change "openssl" input to OPENSSL.
(ruby-3.1): Inherit from RUBY-3.0.
* gnu/packages/python.scm (python-2.7)[inputs]: Change from OPENSSL to
OPENSSL-1.1.
(python-3.9)[inputs]: Replace "openssl" with OPENSSL.
* gnu/packages/python-crypto.scm (python-cryptography)[inputs]: Change from
OPENSSL to OPENSSL-1.1.
* gnu/packages/databases.scm (mariadb)[inputs]: Likewise.
* gnu/packages/node.scm (node)[native-inputs, inputs]: Likewise.
(node-lts)[native-inputs]: Likewise.
2022-08-30 18:42:26 +02:00
David Thompson
9b5b1dde32
services: gitolite: Relax permissions on service user home directory.
Fixes https://issues.guix.gnu.org/56444

* gnu/services/version-control.scm (gitolite-activation): Modify permissions
  on home directory so that git group has read access.

Reported-by: Evgeny Pisemsky <evgeny@pisemsky.com>

Experienced by David Thompson for years, wondering what was wrong. Thanks for
finding the root cause, Evgeny! :)
2022-08-30 12:37:19 -04:00
msimonin
c19a432652
gnu: Add python-grid5000.
* gnu/packages/python-web.scm (python-grid5000): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2022-08-30 17:59:18 +02:00
Marius Bakke
b2696a7211
gnu: accountsservice: Actually run the test suite.
* gnu/packages/freedesktop.scm (accountsservice)[native-inputs]: Add PYTHON.
2022-08-30 17:59:18 +02:00
Marius Bakke
d2d3c8f9bf
gnu: accountsservice: Don't reference the build-time coreutils.
* gnu/packages/freedesktop.scm (accountsservice)[inputs]: Add COREUTILS-MINIMAL.
2022-08-30 17:59:18 +02:00
Marius Bakke
27e366292d
gnu: accountsservice: Remove obsolete input.
* gnu/packages/freedesktop.scm (accountsservice)[native-inputs]: Remove
INTLTOOL.  Add GETTEXT-MINIMAL.
2022-08-30 17:59:18 +02:00
Marius Bakke
997a51bee8
gnu: mercurial: Update to 6.2.1.
* gnu/packages/version-control.scm (mercurial): Update to 6.2.1.
[source](patches): Add patch for compatibility with OpenSSL 3.0.
[arguments]: Patch /usr/bin/env and /bin/sh unconditionally in all tests.
Disable four more tests.
[inputs]: Change from PYTHON to PYTHON-WRAPPER.
* gnu/packages/patches/mercurial-openssl-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2022-08-30 17:59:18 +02:00
Marius Bakke
77c07d9a61
gnu: babl: Update to 0.1.96.
* gnu/packages/gimp.scm (babl): Update to 0.1.96.
2022-08-30 17:59:18 +02:00
Efraim Flashner
466038b2e5
gnu: vim: Update to 9.0.0325.
* gnu/packages/vim.scm (vim): Update to 9.0.0325.
2022-08-30 16:48:29 +03:00
Nicolas Graves
47c11772df
etc: Update yasnippet build system list.
* etc/snippets/yas/scheme-mode/guix-package (build-system): Add
chicken-build-system, minetest-build-system, rebar-build-system
and renpy-build-system.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-08-30 11:50:15 +02:00
Nicolas Graves
0928b82070
etc: Add tempel snippet for :phases.
* etc/snippets/tempel/scheme-mode (:phases, add-before\ , add-after\ )
(replace\ ): New snippets.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-08-30 11:50:15 +02:00
Nicolas Graves
c4acaf4120
etc: Add tempel snippets.
* etc/snippets/tempel/scheme-mode: New file.
* etc/snippets/tempel/text-mode: New file.
* etc/snippets/scheme-mode: Moved from here...
* etc/snippets/yas/scheme-mode: ... to here.
* etc/snippets/text-mode: Moved from here...
* etc/snippets/yas/text-mode: ... to here.
* doc/contributing.texi ("The Perfect Setup"): Adjust yasnippet setup
accordingly.  Add tempel setup.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-08-30 11:50:14 +02:00
Tobias Kortkamp
6beadc82df
gnu: wayland-protocols: Fix cross-compilation
* gnu/packages/freedesktop.scm (wayland-protocols): Fix cross-compilation
[native-inputs]: Add pkg-config-for-build and wayland.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-08-30 09:14:40 +02:00
Maxime Devos
01df491f6d
gnu: yt-dlp: Don't ask to run tests when cross-compiling.
* gnu/packages/video.scm
(yt-dlp)[arguments]{#:tests?}: When cross-compiling, set to #false.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-08-30 08:58:53 +02:00
Maxime Devos
f60653a0ef
gnu: rust: Don't ask to run tests when cross-compiling.
* gnu/packages/rust.scm
(rust-1.57)[arguments]{#:tests?}: When cross-compiling, set to #false.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-08-30 08:57:57 +02:00
Maxime Devos
d8b960983d
gnu: ruby-rubocop: Don't ask to run tests when cross-compiling.
* gnu/packages/ruby.scm
(ruby-rubocop)[arguments]{#:tests?}: When cross-compiling, set to #false.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-08-30 08:57:57 +02:00
Maxime Devos
d720aa4a88
gnu: python-jaraco-context: Don't ask to run tests when cross-compiling.
* gnu/packages/python-xyz.scm
(python-jaraco-context)[arguments]{#:tests?}: When cross-compiling, set to #false.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-08-30 08:57:57 +02:00
Maxime Devos
321620d15b
gnu: python-jupyter-client: Don't ask to run tests when cross-compiling.
* gnu/packages/python-xyz.scm
(python-jupyter-client)[arguments]{#:tests?}: When cross-compiling, set to #false.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-08-30 08:57:57 +02:00
Maxime Devos
7d49984da4
gnu: python-pip-run: Don't ask to run tests when cross-compiling.
* gnu/packages/python-xyz.scm
(python-pip-run)[arguments]{#:tests?}: When cross-compiling, set to #false.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-08-30 08:57:57 +02:00
Maxime Devos
c548ff6a30
gnu: python-jaraco-functools: Don't ask to run tests when cross-compiling.
* gnu/packages/python-xyz.scm
(python-jaraco-functools)[arguments]{#:tests?}: When cross-compiling, set to #false.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-08-30 08:57:56 +02:00
Maxime Devos
dbd5612c90
gnu: python-path: Don't ask to run tests when cross-compiling.
* gnu/packages/python-xyz.scm
(python-path)[arguments]{#:tests?}: When cross-compiling, set to #false.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-08-30 08:57:56 +02:00
Maxime Devos
80a75c5357
gnu: python-fonttools-full: Don't ask to run tests when cross-compiling.
* gnu/packages/python-xyz.scm
(python-fonttools-full)[arguments]{#:tests?}: When cross-compiling, set to #false.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-08-30 08:57:56 +02:00
Maxime Devos
0168c65de4
gnu: proot: Don't ask to run tests when cross-compiling.
* gnu/packages/linux.scm
(proot)[arguments]{#:tests?}: When cross-compiling, set to #false.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-08-30 08:57:56 +02:00
Maxime Devos
5192bead32
gnu: julia-interpolations: Don't ask to run tests when cross-compiling.
* gnu/packages/julia-xyz.scm
(julia-interpolations)[arguments]{#:tests?}: When cross-compiling,
set to #false.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-08-30 08:57:56 +02:00
Maxime Devos
55e88a2759
gnu: julia-reversediff: Don't ask to run tests when cross-compiling.
* gnu/packages/julia-xyz.scm
(julia-reversediff)[arguments]{#:tests?}: When cross-compiling,
set to #false.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-08-30 08:57:55 +02:00
Maxime Devos
d38a002471
gnu: julia-forwarddiff: Don't ask to run tests when cross-compiling.
* gnu/packages/julia-xyz.scm
(julia-forwarddiff)[arguments]{#:tests?}: When cross-compiling,
set to #false.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-08-30 08:57:55 +02:00
Maxime Devos
a282c9844c
gnu: julia-arrayinterface: Don't ask to run tests when cross-compiling.
* gnu/packages/julia-xyz.scm
(julia-arrayinterface)[arguments]{#:tests?}: When cross-compiling,
set to #false.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-08-30 08:57:55 +02:00
Maxime Devos
81681f2d4a
gnu: ghc-statistics: Properly enable tests.
The comment states there are test failures and hence it is implied that the
intent was to disable tests, not enable them, but tests pass and the code
below enabled tests instead of disabling them.

Remove #:tests? #true to satisfy the tests-true linter.

* gnu/packages/haskell-xyz.scm
(ghc-statistics)[arguments]{#:tests?}: Remove.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-08-30 08:57:55 +02:00
Thiago Jung Bauermann
65ce5fe2fb
guix system: Use standard cross and native build options.
This change prevents guix system from erroring out with an ugly backtrace
when it's passed an invalid value to the “--system” or “--target”
option. It also adds the “--list-systems” and “--list-targets” options.

The manual section about guix system doesn't mention the “--target” option,
so add it there.

* guix/scripts/system (show-help): Call show-cross-build-options-help and
show-native-build-options-help.
(%options): Remove own implementation of “system” and “target” options and
use the ones in %standard-cross-build-options and
%standard-native-build-options.
* doc/guix.texi (Invoking guix system): Document “--target” option.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-08-30 08:55:16 +02:00
Mathieu Othacehe
93ed34977e
bootloader: Wrap lines.
* gnu/bootloader (<bootloader-configuration>): Wrap lines, no functional
change.
2022-08-30 08:51:12 +02:00
Reza Alizadeh Majd
f126f23b13
bootloader: Add device-tree-support? option.
In some specific cases where the device tree file is already loaded in RAM, it
can be preferable that the bootloader does not try to use a device tree from
the Linux kernel tree.

* gnu/bootloader.scm (<bootloader-configuration>)[device-tree-support?]: New field.
* gnu/bootloader/extlinux.scm (extlinux-configuration-file): Add FDTDIR line
based on <device-tree-support?> field of <bootloader-configuration>.
* doc/guix.texi (Bootloader Configuration)[device-tree-support?]: Add
documentation for the new field.
2022-08-30 08:50:44 +02:00
宋文武
e214e87cc5
Revert "reconfigure: Use 'current-channels' to obtain provenance data."
This fixes <https://issues.guix.gnu.org/57480>.

This reverts commit b08439809f.
2022-08-30 14:44:07 +08:00
Tomasz Jeneralczyk
9b8507df11
gnu: Add hydrus-network.
* gnu/packages/image-viewers.scm (hydrus-network): Add variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-08-30 00:40:05 +02:00
Tomasz Jeneralczyk
f82a8873d3
gnu: python-cloudscraper: Update to 1.2.60.
* gnu/packages/python-web.scm (python-cloudscraper): Update to 1.2.60
[propagated-inputs]: Change python-pyparsing to its mainstream version.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-08-30 00:40:05 +02:00