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".
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.
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.
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>
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>
gnu: Add lttng-tools.
* gnu/packages/linux.scm (lttng-tools): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
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>
gnu: Add vim-gitgutter.
* gnu/packages/vim.scm (vim-gitgutter): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
gnu: Add vim-mucomplete.
* gnu/packages/vim.scm (vim-mucomplete): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
gnu: reprotest: Update to 0.7.18.
* gnu/packages/diffoscope.scm (reprotest): Update to 0.7.18.
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".
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.
gnu: arm-trusted-firmware: Update to 2.5.
* gnu/packages/firmware (make-arm-trusted-firmware): Update to 2.5.
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.
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.
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.
gnu: Add clingo.
* gnu/packages/maths.scm (clingo): New variable.
gnu: Add clasp.
* gnu/packages/maths.scm (clasp): New variable.
gnu: Add libpotassco.
* gnu/packages/maths.scm (libpotassco): New variable.
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>