summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* news: Add entry about "guix shell".Ludovic Courtès2021-10-25
| | | | * etc/news.scm: Add entry.
* shell: Maintain a profile cache.Ludovic Courtès2021-10-25
| | | | | | | | | | | | | | | | | | | | | | | 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'.
* cache: Gracefully handle non-existent cache.Ludovic Courtès2021-10-25
| | | | | * guix/cache.scm (maybe-remove-expired-cache-entries): Ignore ENOENT when writing EXPIRY-FILE.
* environment: Autoload some modules.Ludovic Courtès2021-10-25
| | | | | | This further speeds up the 'guix environment -p PROFILE' case. * guix/scripts/environment.scm: Autoload a bunch of modules.
* environment: Do not connect to the daemon when '--profile' is used.Ludovic Courtès2021-10-25
| | | | | | | | | 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.
* environment: Skip derivation computation when '--profile' is used.Ludovic Courtès2021-10-25
| | | | | | * guix/scripts/environment.scm (guix-environment*): Bypass calls to 'package-derivation' and to 'manifest->derivation' when PROFILE is true.
* environment: Add tests for '--profile'.Ludovic Courtès2021-10-25
| | | | | | | This is a followup to a643deac2de81755a1843a3b41dd53857678bebc. * tests/guix-environment-container.sh, tests/guix-environment.sh: Add tests for '--profile'.
* shell: By default load the local 'manifest.scm' or 'guix.scm' file.Ludovic Courtès2021-10-25
| | | | | | | | * 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.
* Add 'guix shell'.Ludovic Courtès2021-10-25
| | | | | | | | | | | | | | | | | | | | | | | * 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'.Ludovic Courtès2021-10-25
| | | | | | | | | * 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'.Ludovic Courtès2021-10-25
| | | | | | | | * 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.Morgan Smith2021-10-25
| | | | | | * 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 addressJacob Adams2021-10-25
| | | | | | | | | * 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.Olivier Dion2021-10-25
| | | | | | * gnu/packages/linux.scm (lttng-tools): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: python-peachpy: Make output deterministic.Ludovic Courtès2021-10-25
| | | | | | | | | | | | 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.Foo Chuan Wei2021-10-25
| | | | | | * gnu/packages/vim.scm (vim-gitgutter): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: Add vim-mucomplete.Foo Chuan Wei2021-10-25
| | | | | | * gnu/packages/vim.scm (vim-mucomplete): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: reprotest: Update to 0.7.18.Vagrant Cascadian2021-10-24
| | | | * gnu/packages/diffoscope.scm (reprotest): Update to 0.7.18.
* lint: Add description check for common typos.Vagrant Cascadian2021-10-24
| | | | | | | | | 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.Vagrant Cascadian2021-10-24
| | | | | | | | | | | | * 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.Vagrant Cascadian2021-10-24
| | | | * gnu/packages/firmware (make-arm-trusted-firmware): Update to 2.5.
* gnu: python2-renpy: Update to 7.4.10.Liliana Marie Prikler2021-10-24
| | | | | * 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.Liliana Marie Prikler2021-10-24
| | | | | * gnu/packages/game-development.scm (python2-pygame-sdl2): Update to renpy-version 7.4.10.
* gnu: disarchive: Update to 0.3.0.Timothy Sample2021-10-24
| | | | | | | | * 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.Liliana Marie Prikler2021-10-24
| | | | * gnu/packages/maths.scm (clingo): New variable.
* gnu: Add clasp.Liliana Marie Prikler2021-10-24
| | | | * gnu/packages/maths.scm (clasp): New variable.
* gnu: Add libpotassco.Liliana Marie Prikler2021-10-24
| | | | * gnu/packages/maths.scm (libpotassco): New variable.
* etc: completion: Filter gratuitous spaces from available packages.Liliana Marie Prikler2021-10-24
| | | | | | | | | | | | 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>
* gnu: parallel: Update to 20211022.Tobias Geerinckx-Rice2021-10-24
| | | | | * gnu/packages/parallel.scm (parallel): Update to 20211022. [arguments]: Don't explicitly return #t from phases.
* gnu: Move Common Lisp testing frameworks to lisp-check module.Guillaume Le Vaillant2021-10-24
| | | | | | | | | | | | | | | | | | | * 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.
* gnu: Add r-umi4cpackage.Ricardo Wurmus2021-10-24
| | | | * gnu/packages/bioinformatics.scm (r-umi4cpackage): New variable.
* gnu: emacs: Handle pdump filenames that contain a fingerprint.Morgan Smith2021-10-24
| | | | | | | | * 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>
* gnu: Add julia-infinity.Efraim Flashner2021-10-24
| | | | * gnu/packages/julia-xyz.scm (julia-infinity): New variable.
* gnu: Add julia-geometrybasics.Efraim Flashner2021-10-24
| | | | * gnu/packages/julia-xyz.scm (julia-geometrybasics): New variable.
* gnu: Add julia-gr.Efraim Flashner2021-10-24
| | | | * gnu/packages/julia-xyz.scm (julia-gr): New variable.
* gnu: Add julia-gr-jll.Efraim Flashner2021-10-24
| | | | * gnu/packages/julia-jll.scm (julia-gr-jll): New variable.
* gnu: s6-linux-utils: Update to 2.5.1.6.Tobias Geerinckx-Rice2021-10-24
| | | | * gnu/packages/skarnet.scm (s6-linux-utils): Update to 2.5.1.6.
* gnu: s6-linux-init: Update to 1.0.6.4.Tobias Geerinckx-Rice2021-10-24
| | | | * gnu/packages/skarnet.scm (s6-linux-init): Update to 1.0.6.4.
* gnu: s6-portable-utils: Update to 2.2.3.3.Tobias Geerinckx-Rice2021-10-24
| | | | * gnu/packages/skarnet.scm (s6-portable-utils): Update to 2.2.3.3.
* gnu: s6-rc: Update to 0.5.2.3.Tobias Geerinckx-Rice2021-10-24
| | | | * gnu/packages/skarnet.scm (s6-rc): Update to 0.5.2.3.
* gnu: s6-networking: Update to 2.5.0.0.Tobias Geerinckx-Rice2021-10-24
| | | | * gnu/packages/skarnet.scm (s6-networking): Update to 2.5.0.0.
* gnu: s6-dns: Update to 2.3.5.2.Tobias Geerinckx-Rice2021-10-24
| | | | * gnu/packages/skarnet.scm (s6-dns): Update to 2.3.5.2.
* gnu: s6: Update to 2.11.0.0.Tobias Geerinckx-Rice2021-10-24
| | | | | * gnu/packages/skarnet.scm (s6): Update to 2.11.0.0. [arguments]: Don't explicitly return #t from phases.
* gnu: execline: Update to 2.8.1.0.Tobias Geerinckx-Rice2021-10-24
| | | | * gnu/packages/skarnet.scm (execline): Update to 2.8.1.0.
* gnu: skalibs: Update to 2.11.0.0.Tobias Geerinckx-Rice2021-10-24
| | | | | * gnu/packages/skarnet.scm (skalibs): Update to 2.11.0.0. [arguments]: Don't explicitly return #t from phases.
* gnu: dstask: Update to 0.25.Tobias Geerinckx-Rice2021-10-23
| | | | | * gnu/packages/task-management.scm (dstask): Update to 0.25. [arguments]: Don't explicitly return #t from phases.
* gnu: asciinema: Remove ncurses reference.Tobias Geerinckx-Rice2021-10-23
| | | | | | | | | 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.
* gnu: asciinema: Update to 2.1.0.Tobias Geerinckx-Rice2021-10-23
| | | | | * gnu/packages/terminals.scm (asciinema): Update to 2.1.0. [arguments]: Don't explicitly return #t from phases.
* gnu: goaccess: Update to 1.5.2.Tobias Geerinckx-Rice2021-10-23
| | | | | * gnu/packages/web.scm (goaccess): Update to 1.5.2. [arguments]: Don't explicitly return #t from phases.
* gnu: Add OpenEXR 3.Vinicius Monego2021-10-23
| | | | | | | | | | * 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>