me
/
guix
Archived
1
0
Fork 0
Commit Graph

84542 Commits (aa0d27b4e2b998b808e70d2886d7c3eb26159609)

Author SHA1 Message Date
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
Tobias Geerinckx-Rice 577e348c0b
gnu: s6: Update to 2.11.0.0.
* gnu/packages/skarnet.scm (s6): Update to 2.11.0.0.
[arguments]: Don't explicitly return #t from phases.
2021-10-24 00:12:06 +02:00
Tobias Geerinckx-Rice 9ed3ee95bd
gnu: execline: Update to 2.8.1.0.
* gnu/packages/skarnet.scm (execline): Update to 2.8.1.0.
2021-10-24 00:12:06 +02:00
Tobias Geerinckx-Rice 35a5650426
gnu: skalibs: Update to 2.11.0.0.
* gnu/packages/skarnet.scm (skalibs): Update to 2.11.0.0.
[arguments]: Don't explicitly return #t from phases.
2021-10-24 00:12:06 +02:00
Tobias Geerinckx-Rice 103eb25b12
gnu: dstask: Update to 0.25.
* gnu/packages/task-management.scm (dstask): Update to 0.25.
[arguments]: Don't explicitly return #t from phases.
2021-10-23 23:55:53 +02:00
Tobias Geerinckx-Rice 075c9f1269
gnu: asciinema: Remove ncurses reference.
An external ‘tput’ is only required by ancient (<3.3) Pythons 3 and can
always be provided in $PATH.  It is not worth a reference.

* gnu/packages/terminals.scm (asciinema)[arguments]:
Remove 'patch-exec-paths phase.
[inputs]: Remove ncurses.
2021-10-23 23:40:30 +02:00
Tobias Geerinckx-Rice 82924c1953
gnu: asciinema: Update to 2.1.0.
* gnu/packages/terminals.scm (asciinema): Update to 2.1.0.
[arguments]: Don't explicitly return #t from phases.
2021-10-23 23:33:08 +02:00
Tobias Geerinckx-Rice 6b0b6bb4a2
gnu: goaccess: Update to 1.5.2.
* gnu/packages/web.scm (goaccess): Update to 1.5.2.
[arguments]: Don't explicitly return #t from phases.
2021-10-23 23:19:58 +02:00
Vinicius Monego c52ba63c67
gnu: Add OpenEXR 3.
* gnu/packages/graphics.scm (openexr): New variable.
(openexr-2)[home-page]: Use home-page from openexr.
[synopsis]: Use synopsis from openexr.
[description]: Use description from openexr.
[license]: Use license from openexr.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-10-23 16:25:07 -04:00
Vinicius Monego d71336b2e3
gnu: Rename openexr to openexr-2.
This is done so the OpenEXR package can be upgraded to version 3 in a
later commit.

* gnu/packages/graphics.scm (openexr): Rename to ...
(openexr-2): ... new variable.
(blender, blender-2.79, openimageio, povray)[inputs]: Adjust accordingly.
(ctl)[propagated-inputs]: Likewise.
* gnu/packages/animation.scm (synfig)[propagated-inputs]: Likewise.
* gnu/packages/gimp.scm (gegl, gimp)[inputs]: Likewise.
* gnu/packages/gstreamer.scm (gst-plugins-bad)[inputs]: Likewise.
* gnu/packages/image-processing.scm (mia, opencolorio, opencv, vips, gmic,
nip2)[inputs]: Likewise.
* gnu/packages/image-viewers.scm (luminance-hdr)[inputs]: Likewise.
* gnu/packages/image.scm (freeimage, vigra, devil)[inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (kimageformats)[inputs]: Likewise.
* gnu/packages/kde.scm (krita)[inputs]: Likewise.
* gnu/packages/photo.scm (enblend-enfuse, darktable, hugin)[inputs]: Likewise.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-10-23 16:22:06 -04:00
Vinicius Monego ae3fa855f3
gnu: Add imath.
* gnu/packages/graphics.scm (imath): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-10-23 16:22:06 -04:00
Konrad Hinsen 38db6e10f0
gnu: font-juliamono: Update to 0.043.
* gnu/packages/fonts.scm (font-juliamono): Update to 0.043.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-10-23 15:53:55 -04:00