Commit graph

84203 commits

Author SHA1 Message Date
John Kehayias 9c4244cc73
gnu: flatpak: Add patch to fix paths.
* gnu/packages/package-management.scm (flatpak)[source]: Add patch.
* gnu/packages/patches/flatpak-fix-path.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-25 21:01:21 +02:00
John Kehayias d407c107f3
gnu: flatpak: Fix certificate error from p11-kit.
* gnu/packages/package-management.scm (flatpak)[inputs]: Add p11-kit-next.
[arguments]: Add new 'p11-kit-fix phase to patch source to use p11-kit-next
input instead of an implicit p11-kit from dependencies.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-25 21:01:20 +02:00
John Kehayias 73a795e77c
gnu: flatpak: Update to 1.12.1.
* gnu/packages/package-management.scm (flatpak): Update to 1.12.1.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-25 21:01:20 +02:00
Ludovic Courtès b4d29851e4
gnu: p11-kit@0.24.0: Use certificates from /etc/ssl/certs.
Fixes <https://issues.guix.gnu.org/49957>.

Flatpak has a soft dependency on p11-kit, which was configured without
knowledge of the system-wide CA certificate store.  This caused some
flatpak apps to fail with ERR_CERT_AUTHORITY_INVALID errors.

Reported by Andrew Whatson <whatson@gmail.com>.

* gnu/packages/tls.scm (p11-kit-next)[arguments]: New field.

Co-authored-by: Andrew Whatson <whatson@gmail.com>
Co-authored-by: John Kehayias <john.kehayias@protonmail.com>
2021-10-25 21:01:17 +02:00
John Kehayias 811b62d8c8
gnu: Add p11-kit 0.24.0.
* gnu/packages/tls.scm (p11-kit-next): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-25 21:00:46 +02:00
John Kehayias 7c5a4025f5
gnu: xdg-desktop-portal-gtk: Update to 1.10.0.
* gnu/packages/freedesktop.scm (xdg-desktop-portal-gtk): Update to 1.10.0.
[arguments]: Adjust configure-flags for Gnome backends in new
version (defaults to disabled in this version)

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-25 20:32:14 +02:00
John Kehayias 419a778e46
gnu: xdg-desktop-portal: Update to 1.10.1.
* gnu/packages/freedesktop.scm (xdg-desktop-portal): Update to 1.10.1.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-25 20:32:03 +02:00
John Kehayias 2be79191e0
gnu: libportal: Update to 0.4.
* gnu/packages/freedesktop.scm (libportal): Update to 0.4.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-25 20:31:43 +02:00
Ludovic Courtès 4aa41a37f0
news: Add entry about "guix shell".
* etc/news.scm: Add entry.
2021-10-25 20:11:25 +02:00
Ludovic Courtès 9730692d9f
shell: Maintain a profile cache.
shell: Maintain a profile cache.

With this change, running "guix shell" (no arguments) is equivalent to:

  guix environment -r ~/.cache/guix/profiles/some-root -l guix.scm

This is the cache miss.  On cache hit, it's equivalent to:

  guix environment -p ~/.cache/guix/profiles/some-root

... which can run in 0.1s.

* guix/scripts/shell.scm (options-with-caching): New procedure.
(parse-args): Use it.
(%profile-cache-directory): New variable.
(profile-cache-key, profile-cached-gc-root): New procedures.
(show-help, %options): Add '--rebuild-cache'.
(guix-shell)[cache-entries, entry-expiration]: New procedures.
Add call to 'maybe-remove-expired-cache-entries'.
* doc/guix.texi (Invoking guix shell): Document '--rebuild-cache'.
2021-10-25 19:02:33 +02:00
Ludovic Courtès 2cb0b3709a
cache: Gracefully handle non-existent cache.
* guix/cache.scm (maybe-remove-expired-cache-entries): Ignore ENOENT
when writing EXPIRY-FILE.
2021-10-25 19:02:33 +02:00
Ludovic Courtès 3c96158438
environment: Autoload some modules.
This further speeds up the 'guix environment -p PROFILE' case.

* guix/scripts/environment.scm: Autoload a bunch of modules.
2021-10-25 19:02:33 +02:00
Ludovic Courtès 99499a2037
environment: Do not connect to the daemon when '--profile' is used.
This further speeds up the 'guix environment -p PROFILE' case.

* guix/scripts/environment.scm (guix-environment*)[store-needed?]: New
variable.
[with-store/maybe]: New macro.
Use it instead of 'with-store', and remove 'with-build-handler' form.
2021-10-25 19:02:33 +02:00
Ludovic Courtès 648a6eb03f
environment: Skip derivation computation when '--profile' is used.
* guix/scripts/environment.scm (guix-environment*): Bypass calls to
'package-derivation' and to 'manifest->derivation' when PROFILE is
true.
2021-10-25 19:02:33 +02:00
Ludovic Courtès 10208952ea
environment: Add tests for '--profile'.
This is a followup to a643deac2d.

* tests/guix-environment-container.sh, tests/guix-environment.sh: Add
tests for '--profile'.
2021-10-25 19:02:32 +02:00
Ludovic Courtès 746584e0ca
shell: By default load the local 'manifest.scm' or 'guix.scm' file.
* guix/scripts/shell.scm (parse-args): Add call to 'auto-detect-manifest'.
(authorized-directory-file, authorized-shell-directory?)
(find-file-in-parent-directories, auto-detect-manifest): New procedures.
* tests/guix-shell.sh: Add test.
* doc/guix.texi (Invoking guix shell): Document it.
2021-10-25 19:02:23 +02:00
Ludovic Courtès 80edb7df65
Add 'guix shell'.
* guix/scripts/shell.scm, tests/guix-shell.sh: New files.
* Makefile.am (MODULES): Add 'shell.scm'.
(SH_TESTS): Add 'tests/guix-shell.sh'.
* guix/scripts/environment.scm (show-environment-options-help): New
procedure.
(show-help): Use it.
(guix-environment*): New procedure.
(guix-environment): Use it.
* po/guix/POTFILES.in: Add it.
* doc/guix.texi (Features): Refer to "guix shell"
(Invoking guix package): Likewise.
(Development): Likewise.
(Invoking guix shell): New node.
(Invoking guix environment): Add deprecation warning.
(Debugging Build Failures): Use 'guix shell' in examples.
(Invoking guix container): Refer to 'guix shell'.
(Invoking guix processes, Virtualization Services): Adjust examples to
use 'guix shell'.
* doc/contributing.texi (Building from Git): Refer to 'guix shell'.
* etc/completion/bash/guix: Handle "shell".
2021-10-25 18:58:18 +02:00
Ludovic Courtès 23f99f1a29
profiles: Add 'package->development-manifest'.
* guix/profiles.scm (package->development-manifest): New procedure.
* guix/scripts/environment.scm (input->manifest-entry)
(package-environment-inputs): Remove.
* guix/scripts/environment.scm (options/resolve-packages): Use
'package->development-manifest' instead of 'package-environment-inputs'.
* tests/profiles.scm ("package->development-manifest"): New test.
2021-10-25 15:29:42 +02:00
Ludovic Courtès fb368f4e76
packages: Add 'package-development-inputs'.
* guix/packages.scm (package-development-inputs): New procedure.
* guix/scripts/environment.scm (package-environment-inputs): Use it.
* tests/packages.scm ("package-development-inputs")
("package-development-inputs, cross-compilation"): New tests.
* doc/guix.texi (package Reference): Document it.
2021-10-25 15:29:39 +02:00
Morgan Smith e4276fc4c1
gnu: mspdebug: Update to 0.25-0.4c4d94e.
* gnu/packages/debug.scm (mspdebug): Update to 0.25-0.4c4d94e.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-25 14:32:59 +02:00
Jacob Adams 1ea032fb5f
services: rsync: support binding rsync to a specific IP address
* gnu/services/rsync.scm (<rsync-configuration>)[address]: New field.
(rsync-config-file): Honor it.
* doc/guix.texi (Networking Services): Document new address rsync
configuration option.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-25 14:32:59 +02:00
Olivier Dion 69b249ecae
gnu: Add lttng-tools.
* gnu/packages/linux.scm (lttng-tools): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-25 14:32:59 +02:00
Ludovic Courtès b87fe805aa
gnu: python-peachpy: Make output deterministic.
Fixes <https://issues.guix.gnu.org/50672>.

This makes users of python-peachpy bit-reproducible, such as nnpack.

* gnu/packages/patches/python-peachpy-determinism.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/python-xyz.scm (python-peachpy)[source]: Use it.

Co-authored-by: Kyle Meyer <kyle@kyleam.com>
2021-10-25 14:32:59 +02:00
Foo Chuan Wei bb524f43fb
gnu: Add vim-gitgutter.
* gnu/packages/vim.scm (vim-gitgutter): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-10-25 11:02:40 +03:00
Foo Chuan Wei ebd999c5d8
gnu: Add vim-mucomplete.
* gnu/packages/vim.scm (vim-mucomplete): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-10-25 10:16:37 +03:00
Vagrant Cascadian fb3b26b2ab
gnu: reprotest: Update to 0.7.18.
* gnu/packages/diffoscope.scm (reprotest): Update to 0.7.18.
2021-10-24 17:28:46 -07:00
Vagrant Cascadian b5f45a21c2
lint: Add description check for common typos.
Fixes: https://issues.guix.gnu.org/44675

* guix/lint.scm (check-description-typo): Add check for occurences of
  "This packages", "This modules", "allows to" and "permits to" in package
  descriptions.
* tests/lint.scm: Add tests for "This packages" and "allows to".
2021-10-24 14:26:12 -07:00
Vagrant Cascadian 65be27dcfd
gnu: u-boot: Update to 2021.10.
* gnu/packages/bootloaders.scm (%u-boot-allow-disabling-openssl-patch): New variable.
  (u-boot): Update to 2021.10.
  Add patch fixing build without openssl.
  (u-boot-qemu-riscv64-smode):
  Add patch fixing build without openssl.
  (u-boot-tools): Adjust phases to disable CONFIG_TOOLS_LIBCRYPTO.
  (make-u-boot-package): Add phase disabling CONFIG_TOOLS_LIBCRYPTO.
* gnu/packages/patches/u-boot-allow-disabling-openssl.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Add patch.
2021-10-24 13:51:37 -07:00
Vagrant Cascadian efe0c3d759
gnu: arm-trusted-firmware: Update to 2.5.
* gnu/packages/firmware (make-arm-trusted-firmware): Update to 2.5.
2021-10-24 13:51:34 -07:00
Liliana Marie Prikler be5216efcc
gnu: python2-renpy: Update to 7.4.10.
* gnu/packages/game-development.scm (python2-renpy): Update to 7.4.10.
[snippet]: No longer drop "gen" directory, it's not in this release.
2021-10-24 22:28:28 +02:00
Liliana Marie Prikler 1636acaac5
gnu: python2-pygame-sdl2: Update to renpy-version 7.4.10.
* gnu/packages/game-development.scm (python2-pygame-sdl2): Update to
renpy-version 7.4.10.
2021-10-24 22:27:31 +02:00
Timothy Sample ab8c08c519
gnu: disarchive: Update to 0.3.0.
* gnu/packages/backup.scm (disarchive): Update to 0.3.0.
[source]: Remove cross-compilation patch.
[arguments]: Remove field.
* gnu/packages/patches/disarchive-cross-compilation.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2021-10-24 14:56:30 -04:00
Liliana Marie Prikler 505d53a4b4
gnu: Add clingo.
* gnu/packages/maths.scm (clingo): New variable.
2021-10-24 20:25:02 +02:00
Liliana Marie Prikler 2dfc574b13
gnu: Add clasp.
* gnu/packages/maths.scm (clasp): New variable.
2021-10-24 20:25:02 +02:00
Liliana Marie Prikler 92d3f2673e
gnu: Add libpotassco.
* gnu/packages/maths.scm (libpotassco): New variable.
2021-10-24 20:25:01 +02:00
Liliana Marie Prikler 55f6d9e818
etc: completion: Filter gratuitous spaces from available packages.
Tested with:

  guix environment --{ad-hoc,pure} zsh guix bash-completion coreutils -- zsh
  % fpath=(~/guix/etc/completion/zsh $fpath)
  % autoload -U compinit; compinit

* etc/completion/zsh/_guix (_guix_list_available_packages): Remove spaces.

Co-authored-by: Tobias Geerinckx-Rice <me@tobias.gr>
2021-10-24 20:17:05 +02:00
Tobias Geerinckx-Rice 2ab53a68fd
gnu: parallel: Update to 20211022.
* gnu/packages/parallel.scm (parallel): Update to 20211022.
[arguments]: Don't explicitly return #t from phases.
2021-10-24 17:49:23 +02:00
Guillaume Le Vaillant 83a7d42426
gnu: Move Common Lisp testing frameworks to lisp-check module.
* gnu/packages/lisp-xyz.scm (sbcl-1am, cl-1am, ecl-1am, sbcl-check-it,
  cl-check-it, ecl-check-it, sbcl-checkl, cl-checkl, ecl-checkl,
  sbcl-cl-mock, cl-mock, ecl-cl-mock, sbcl-cl-quickcheck, cl-quickcheck,
  ecl-cl-quickcheck, sbcl-clunit, cl-clunit, ecl-clunit, sbcl-clunit2,
  cl-clunit2, ecl-clunit2, sbcl-eos, cl-eos, ecl-eos, sbcl-fiasco, cl-fiasco,
  ecl-fiasco, sbcl-fiveam, cl-fiveam, ecl-fiveam, sbcl-hu.dwim.stefil,
  cl-hu.dwim.stefil, ecl-hu.dwim.stefil, sbcl-lift, cl-lift, ecl-lift,
  sbcl-lisp-unit, cl-lisp-unit, ecl-lisp-unit, sbcl-lisp-unit2,
  cl-lisp-unit2, ecl-lisp-unit2, sbcl-parachute, cl-parachute, ecl-parachute,
  sbcl-prove, cl-prove, ecl-prove, sbcl-ptester, cl-ptester, ecl-ptester,
  sbcl-rove, cl-rove, ecl-rove, sbcl-rt, cl-rt, ecl-rt, sbcl-stefil,
  cl-stefil, ecl-stefil, sbcl-unit-test, cl-unit-test, ecl-unit-test,
  sbcl-xlunit, cl-xlunit, ecl-xlunit): Move to ...
* gnu/packages/lisp-check.scm: ... here.
* gnu/packages/web-browsers.scm: Import lisp-check module.
* gnu/packages/wm.scm: Import lisp-check module.
2021-10-24 16:05:02 +02:00
Ricardo Wurmus 973b21aa6a
gnu: Add r-umi4cpackage.
* gnu/packages/bioinformatics.scm (r-umi4cpackage): New variable.
2021-10-24 13:45:46 +00:00
Morgan Smith 49d19b35ce
gnu: emacs: Handle pdump filenames that contain a fingerprint.
* gnu/packages/emacs.scm (emacs) [restore-emacs-pdmp]: Use lax regular
expressions to match files by the “.pdmp” file ending only.  Adjust comment
accordingly.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2021-10-24 10:49:45 +02:00
Efraim Flashner 9c3b2cf0b3
gnu: Add julia-infinity.
* gnu/packages/julia-xyz.scm (julia-infinity): New variable.
2021-10-24 11:41:20 +03:00
Efraim Flashner caaf3a7bc6
gnu: Add julia-geometrybasics.
* gnu/packages/julia-xyz.scm (julia-geometrybasics): New variable.
2021-10-24 11:41:20 +03:00
Efraim Flashner 49996b2763
gnu: Add julia-gr.
* gnu/packages/julia-xyz.scm (julia-gr): New variable.
2021-10-24 11:41:20 +03:00
Efraim Flashner 6f3a9d4c9b
gnu: Add julia-gr-jll.
* gnu/packages/julia-jll.scm (julia-gr-jll): New variable.
2021-10-24 11:41:20 +03:00
Tobias Geerinckx-Rice b111497f81
gnu: s6-linux-utils: Update to 2.5.1.6.
* gnu/packages/skarnet.scm (s6-linux-utils): Update to 2.5.1.6.
2021-10-24 00:12:07 +02:00
Tobias Geerinckx-Rice c78b914ee2
gnu: s6-linux-init: Update to 1.0.6.4.
* gnu/packages/skarnet.scm (s6-linux-init): Update to 1.0.6.4.
2021-10-24 00:12:07 +02:00
Tobias Geerinckx-Rice 5ff655e2ee
gnu: s6-portable-utils: Update to 2.2.3.3.
* gnu/packages/skarnet.scm (s6-portable-utils): Update to 2.2.3.3.
2021-10-24 00:12:07 +02:00
Tobias Geerinckx-Rice 155a36ac76
gnu: s6-rc: Update to 0.5.2.3.
* gnu/packages/skarnet.scm (s6-rc): Update to 0.5.2.3.
2021-10-24 00:12:06 +02:00
Tobias Geerinckx-Rice 9aa11db1cf
gnu: s6-networking: Update to 2.5.0.0.
* gnu/packages/skarnet.scm (s6-networking): Update to 2.5.0.0.
2021-10-24 00:12:06 +02:00
Tobias Geerinckx-Rice 6ef806ffde
gnu: s6-dns: Update to 2.3.5.2.
* gnu/packages/skarnet.scm (s6-dns): Update to 2.3.5.2.
2021-10-24 00:12:06 +02:00