me
/
guix
Archived
1
0
Fork 0
Commit Graph

100983 Commits (9e59dbcd6cc37ee65236edf23a9b32338536e036)

Author SHA1 Message Date
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
Tomasz Jeneralczyk 5920196e47
gnu: opencv: Build Python bindings.
* gnu/packages/image-processing.scm (opencv)[arguments]: Change variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-30 00:40:05 +02:00
Tomasz Jeneralczyk 619af9f307
gnu: Add python-mpv.
* gnu/packages/python-xyz.scm (python-mpv): Add variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-08-30 00:40:05 +02:00
Tomasz Jeneralczyk e1ea628776
gnu: Add python-xvfbwrapper.
* gnu/packages/python-check.scm (python-xvfbwrapper): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-30 00:40:05 +02:00
Tomasz Jeneralczyk 05246c691b
gnu: Add swftools.
* gnu/packages/animation.scm (swftools): Add variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-08-30 00:40:04 +02:00
Paul A. Patience 1cf6cb9503
gnu: Add mmg.
* gnu/packages/graphics.scm (mmg): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-30 00:40:04 +02:00
Ludovic Courtès b08439809f
reconfigure: Use 'current-channels' to obtain provenance data.
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-30 00:40:04 +02:00
Ludovic Courtès 9096bc28a3
services: provenance: Use 'current-channels' to obtain provenance data.
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.

* gnu/services.scm (provenance-entry): Use 'current-channels' instead of
'current-profile' + 'profile-channels'.
2022-08-30 00:40:04 +02:00
Marius Bakke eb52b240eb
gnu: Add missing copyright line.
This is a follow-up to commit 3e0abde17b.

* gnu/tests/virtualization.scm: Add copyright header for myself.
2022-08-29 21:21:40 +02:00
Marius Bakke 3e0abde17b
tests: libvirt: Ensure the default network can be started.
* gnu/tests/virtualization.scm (run-libvirt-test): Run commands to create and
start the default network.
2022-08-29 21:15:58 +02:00
Lars-Dominik Braun acbf2f9def
gnu: libvirt: Use absolute dnsmasq.
Fixes <https://bugs.gnu.org/57272>.
Reported by Lars-Dominik Braun <lars@6xq.net>.

* gnu/packages/virtualization.scm (libvirt)[arguments]: Substitute the
absolute dnsmasq file name.  Disable one test.

Co-authored-by: Marius Bakke <marius@gnu.org>
2022-08-29 21:15:58 +02:00
Konrad Hinsen 9529384c92
gnu: snakemake-7: Convert dependencies to propagated-inputs
* gnu/packages/python-xyz.scm (snakemake-7)[inputs]: Change to ...
[propagated-inputs]: ... this, to ensure that "python -m snakemake"
works (because snakemake uses it internally).

Signed-off-by: Marius Bakke <marius@gnu.org>
2022-08-29 18:22:59 +02:00
Konrad Hinsen 6a31fb6e7b
gnu: snakemake-6: Convert dependencies to propagated-inputs
* gnu/packages/python-xyz.scm (snakemake-6)[inputs]: Change to ...
[propagated-inputs]: ... this, to ensure that "python -m snakemake"
works (because snakemake uses it internally).

Signed-off-by: Marius Bakke <marius@gnu.org>
2022-08-29 18:22:59 +02:00
Konrad Hinsen 5831155175
gnu: snakemake-7: Fix cluster execution bug
* gnu/packages/python-xyz.scm (snakemake-7)[arguments]: Revise the patch for
the cluster execution script

Signed-off-by: Marius Bakke <marius@gnu.org>
2022-08-29 18:22:58 +02:00
Maxime Devos 52aa21cc9a
gnu: gnupg: Use mirror URL.
In commit 38747a27f3, the package switched from
a mirror:// URL to a ftp:// URL, but there doesn't appear to have been any
particular reason for that.

* gnu/packages/gnupg.scm (gnupg)[source]{uri}: Use a mirror:// again.

Signed-off-by: Marius Bakke <marius@gnu.org>
2022-08-29 18:22:58 +02:00
Michael Rohleder 309935a016
gnu: uncrustify: Update to 0.75.1.
* gnu/packages/code.scm (uncrustify): Update to 0.75.1.

Signed-off-by: Marius Bakke <marius@gnu.org>
2022-08-29 18:22:58 +02:00
Michael Rohleder ed9558b17a
gnu: rr: Update to 5.6.0.
* gnu/packages/debug.scm (rr): Update to 5.6.0.
[arguments]<#:configure-flags>: Add -rpath to zlib to satisfy
validate-runpath.
[inputs]: Add zlib.

Signed-off-by: Marius Bakke <marius@gnu.org>
2022-08-29 18:22:58 +02:00
Luis Felipe 72cfcf1735
gnu: Add python-django-cleanup.
* gnu/packages/django.scm (python-django-cleanup): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2022-08-29 18:22:58 +02:00