summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2021-10-31home: import: Avoid duplication of 'manifest->code'....* guix/scripts/home/import.scm (manifest->code): Remove. (manifest+configuration-files->code): New procedure. (import-manifest): Use 'manifest+configuration-files->code' instead of 'manifest->code'. * tests/home-import.scm (eval-test-with-home-environment): Likewise. (match-home-environment-transformations): New procedure. ("manifest->code: No services, package transformations"): New test. Ludovic Courtès
2021-10-31home: import: Factorize triplicated 'version-spec' procedure....* guix/scripts/package.scm (manifest-entry-version-prefix): New procedure, moved from... (export-manifest)[version-spec]: ... here. Adjust caller. * tests/home-import.scm (version-spec): Remove. (eval-test-with-home-environment): Use 'manifest-entry-version-prefix' instead. * guix/scripts/home/import.scm (import-manifest): Likewise. Ludovic Courtès
2021-10-31home: import: Clarify "destination directory"....Suggested by Liliana Marie Prikler <liliana.prikler@gmail.com>. * guix/scripts/home/import.scm (configurations+modules): Rename 'destination-directory' to 'configuration-directory'. Improve docstring. Ludovic Courtès
2021-10-31home: import: Compare procedures with 'eq?'....'procedure-name' is a debugging aid and cannot be reliably used to check for procedure equality. * guix/scripts/home/import.scm (configurations+modules): Remove use of 'procedure-name'. Ludovic Courtès
2021-10-31guix home: import: Call ‘local-file’ with ‘name’...Set the name of the file to just the basename of the file passed to ‘local-file’. * guix/scripts/home/import.scm (basename+remove-dots): New procedure. (generate-bash-configuration+modules): Use it. * tests/home-import.scm (match-home-environment-bash-service): Adjust accordingly. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Xinglu Chen
2021-10-31Add tests for ‘guix home import’....* tests/home-import.scm: New file. * Makefile.am (SCM_TESTS): Add it. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Xinglu Chen
2021-10-31doc: Document the ‘guix home import’ subcommand....* doc/guix.texi (Invoking guix home): Document ‘guix home import’. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Xinglu Chen
2021-10-31guix home: import: Delete duplicate modules when importing....Two different services might require the same module(s), so delete duplicates when generating the ‘use-modules’ form. * import.scm (manifest->code): Delete duplicate modules. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Xinglu Chen
2021-10-31guix home: import: Don’t use 'slurp-file-gexp'....‘slurp-file-gexp’ is not a bound procedure. * guix/scripts/home/import.scm (generate-bash-configuration+modules): Don’t use ‘slurp-file-gexp’. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Xinglu Chen
2021-10-31guix home: import: Fix module name for Bash service....* guix/scripts/home/import.scm (generate-bash-configuration+modules): Change (gnu home-services bash) to (gnu home-services shells); add (guix gexp). Signed-off-by: Ludovic Courtès <ludo@gnu.org> Xinglu Chen
2021-10-31guix home: import: Allow multiple modules to be imported for each service....Previously, only one module could be imported for each service, e.g., only (gnu home-services shell) could be imported when generating the Bash service declaration. However, for some services, multiple modules might need to be imported in order for it to work. * guix/scripts/home/import.scm (generate-bash-module+configuration): Rename to ... (generate-bash-configuration+modules): ... this. (%files-configurations-alist): Rename to ... (%files+configurations-alist): ... this. (modules+configurations): Rename to ... (configurations+modules): ... this. (manifest->code): Adjust accordingly. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Xinglu Chen
2021-10-31guix home: import: Make the user to specify a destination directory....Copy the appropriate the relevant configuration files to the destination directory, and call ‘local-file’ on them. Without this, ‘guix home import’ will generate a service declaration like this (service home-bash-service-type (home-bash-configuration (bashrc (list (slurp-file-gexp (local-file "/home/yoctocell/.bashrc")))))) but when running ‘guix home reconfigure’, the ~/.bashrc file would be moved, so when running ‘guix home reconfigure’ for the second time, it would read the ~/.bashrc which is itself a symlink to a file the store. * guix/scripts/home/import.scm (generate-bash-module+configuration): Take ‘destination-directory’ parameter (modules+configurations): Copy the user’s configuration file to ‘%destination-directory’. * guix/scripts/home.scm (process-command): Adjust accordingly; create ‘destination’ if it doesn’t exist. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Xinglu Chen
2021-10-30gnu: Add r-formattable....* gnu/packages/cran.scm (r-formattable): New variable. Mădălin Ionel Patrașcu
2021-10-30gnu: qemu: Add Guix support to QEMU guest agent....QEMU guest agent hardcodes paths to /sbin/hwclock and /sbin/shutdown. Patch the source to try binaries under /run/current-system/profile/sbin first. * gnu/packages/patches/qemu-fix-agent-paths.patch: New file. * gnu/local.mk (dist_patch_DATA): Register the patch. * gnu/packages/virtualization.scm (qemu)[origin]: Apply it. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Timotej Lazar
2021-10-30gnu: Add r-bien....* gnu/packages/cran.scm (r-bien): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> jgart
2021-10-30gnu: Add r-fasterize....* gnu/packages/cran.scm (r-fasterize): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> jgart
2021-10-30gnu: Add python-ijson....* gnu/packages/python-xyz.scm (python-ijson): New variable. Co-authored-by: Ludovic Courtès <ludo@gnu.org> Raphaël Mélotte
2021-10-30shell: Error out when an unauthorized guix.scm/manifest.scm is found....The previous behavior was confusing: a warning would be printed and 'guix shell' would go on starting an empty environment. Reported by Tobias Geerinckx-Rice <me@tobias.gr>. * guix/scripts/shell.scm (auto-detect-manifest): Change "not loading" case from warning to error. * tests/guix-shell.sh: Adjust accordingly. Ludovic Courtès
2021-10-30gnu: Add Random Identity Generator (rig)...* gnu/packages/shellutils.scm (rig): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Foo Chuan Wei
2021-10-30gnu: ta-lib: Explicitly link math library....* gnu/packages/finance.scm (ta-lib)[arguments]: Add 'link-math-library' phase. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net> Foo Chuan Wei
2021-10-30gnu: Add cl-pass....* gnu/packages/lisp-xyz.scm (cl-pass, ecl-cl-pass, sbcl-cl-pass): New variables. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net> Foo Chuan Wei
2021-10-30gnu: Add cl-clinenoise....* gnu/packages/lisp-xyz.scm (cl-clinenoise, ecl-clinenoise, sbcl-clinenoise): New variables. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net> Foo Chuan Wei
2021-10-30gnu: ungoogled-chromium: Update to 95.0.4638.69-1....* gnu/packages/chromium.scm (%chromium-version): Set to 95.0.4638.69. (%ungoogled-revision): Inherit from it. (%ungoogled-origin, ungoogled-chromium): Update hashes. Marius Bakke
2021-10-29gnu: mame: Update to 0.237....* gnu/packages/emulators.scm (mame): Update to 0.237. Nicolas Goaziou
2021-10-29gnu: scintilla: Update to 5.1.3....* gnu/packages/text-editors.scm (scintilla): Update to 5.1.3. Nicolas Goaziou
2021-10-29gnu: thinkfan: Update to 1.3.0....* gnu/packages/linux.scm (thinkfan): Update to 1.3.0. Nicolas Goaziou
2021-10-29gnu: emacs-shell-command+: Update to 2.3.2....* gnu/packages/emacs-xyz.scm (emacs-shell-command+): Update to 2.3.2. Nicolas Goaziou
2021-10-29gnu: emacs-ebdb: Update to 0.8.8....* gnu/packages/emacs-xyz.scm (emacs-ebdb): Update to 0.8.8. Nicolas Goaziou
2021-10-29gnu: diffoscope: Update to 189....* gnu/packages/diffoscope.scm (diffoscope): Update to 189. [arguments] Remove phases 'use-dumppdf-py and 'fpc-external-tool. Update 'skip-python-tests. Vagrant Cascadian
2021-10-29gnu: blueman: Update to 2.2.3....* gnu/packages/networking.scm (blueman): Update to 2.2.3. Tobias Geerinckx-Rice
2021-10-29gnu: corefreq: Update to 1.87.4....* gnu/packages/linux.scm (corefreq): Update to 1.87.4. Tobias Geerinckx-Rice
2021-10-29gnu: chroma: Update to 1.19....* gnu/packages/games.scm (chroma): Update to 1.19. [arguments]: Remove "CFLAGS=-fgnu89-inline" work-around. Tobias Geerinckx-Rice
2021-10-29gnu: botan: Omit static library....* gnu/packages/crypto.scm (botan)[arguments]: Add a "--disable-static" configure flag. Tobias Geerinckx-Rice
2021-10-29gnu: botan: Update to 2.18.2....* gnu/packages/crypto.scm (botan): Update to 2.18.2. Tobias Geerinckx-Rice
2021-10-29gnu: komikku: Update to 0.35.2....* gnu/packages/gnome.scm (komikku): Update to 0.35.2. Liliana Marie Prikler
2021-10-29gnu: knot-resolver: Update to 5.4.2....* gnu/packages/dns.scm (knot-resolver): Update to 5.4.2. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr> Simon South
2021-10-29gnu: butt: Update to 0.1.32....* gnu/packages/audio.scm (butt): Update to 0.1.32. Tobias Geerinckx-Rice
2021-10-29gnu: recoll: Enable GUI and add inputs for common filters....* gnu/packages/search.scm (recoll)[arguments]: Enable GUI; add build phase 'wrap-filters. [inputs]: Replace python-pdftotext with poppler; add qtbase-5, unzip, gawk, grep, groff, gzip, libiconv, perl, perl-image-exiftool, sed, and tar. Ricardo Wurmus
2021-10-28Revert "gnu: docker-compose: Update to 1.29.2"...This reverts commit c9c4c851a8f05228e060d2d12550d31c2dced5b4, until the following runtime dependency problem can be investigated: pkg_resources.DistributionNotFound: The 'python-dotenv<1,>=0.13.0' distribution was not found and is required by docker-compose Maxim Cournoyer
2021-10-28gnu: python-slugify: Honor #:tests?....* gnu/packages/python-web.scm (python-slugify)[arguments]: Honor #:tests? Ludovic Courtès
2021-10-28gnu: python-slugify: Update to 5.0.2....* gnu/packages/python-web.scm (python-slugify): Update to 5.0.2. Signed-off-by: Ludovic Courtès <ludo@gnu.org> jgart
2021-10-28gnu: Add ginac....* gnu/packages/algebra.scm (ginac): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Vinicius Monego
2021-10-28gnu: Add cln....* gnu/packages/multiprecision.scm (cln): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Vinicius Monego
2021-10-28gnu: waypipe: Update to 0.8.1...* gnu/packages/freedesktop.scm (waypipe): Update to 0.8.1. [arguments]: Remove obsolete 'fix-sleep-path phase. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Robby Zambito
2021-10-28gnu: waypipe: Simplify 'fix-sleep-path phase....* gnu/packages/freedesktop.scm (waypipe) [arguments]: Remove inputs argument. [native-inputs]: Remove coreutils. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Robby Zambito
2021-10-28packages: Optionally validate Texinfo markup at expansion time....* guix/packages.scm (validate-texinfo): New macro. (<package>)[synopsis, description]: Add 'sanitize' property. Ludovic Courtès
2021-10-28ui: Gracefully handle invalid Texinfo markup in package blurbs....Previously 'guix search' & co. would crash when encountering invalid Texinfo. * guix/ui.scm (texi->plain-text*): New procedure. (package-field-string, package->recutils): Use it. Ludovic Courtès
2021-10-28store: 'map/accumulate-builds' handler checks the store received....This is a followup to b19250eec6f92308f237a09a43e8e3e2355345b9, providing a proper fix for <https://issues.guix.gnu.org/46756>. * guix/remote.scm (remote-eval): Revert b19250eec6f92308f237a09a43e8e3e2355345b9. * guix/store.scm (build-accumulator): Turn into a procedure. Call CONTINUE when the store is not eq? to the initial store. (map/accumulate-builds): Adjust accordingly. * tests/store.scm ("map/accumulate-builds and different store"): New test. Ludovic Courtès
2021-10-28doc: Allow offloading of the expensive derivations....* doc/build.scm (translated-texi-manuals) (html-manual, pdf-manual): Pass #:local-build? #f. Ludovic Courtès
2021-10-28import: cran: Use the standard diagnostic procedures....* guix/import/cran.scm (bioconductor-packages-list) (fetch-description): Use 'warning' instead of 'format'. Ludovic Courtès