aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* daemon: Let 'guix substitute' perform hash checks.Ludovic Courtès2020-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | This way, the hash of the store item can be computed as it is restored, thereby avoiding an additional file tree traversal ('hashPath' call) later on in the daemon. Consequently, it should reduce latency between subsequent substitute downloads. This is a followup to 5ff521452b9ec2aae9ed8e4bb7bdc250a581f203. * guix/scripts/substitute.scm (narinfo-hash-algorithm+value): New procedure. (process-substitution): Wrap INPUT into a hash input port, 'hashed', and read from it. Compare the actual and expected hashes, and print a "hash-mismatch" status line when they differ. When they match, print not just "success" but also the nar hash and size. * nix/libstore/build.cc (class SubstitutionGoal)[expectedHashStr]: Remove. (SubstitutionGoal::finished): Tokenize 'status'. Parse it and handle "success" and "hash-mismatch" accordingly. Call 'hashPath' only when the returned hash is not SHA256. (SubstitutionGoal::handleChildOutput): Remove 'expectedHashStr' handling. * tests/substitute.scm ("substitute, invalid hash"): Rename to... ("substitute, invalid narinfo hash"): ... this. ("substitute, invalid hash"): New test.
* tests: Check the build trace for hash mismatches on substitutes.Ludovic Courtès2020-12-19
| | | | | * tests/store.scm ("substitute, corrupt output hash, build trace"): New test.
* gnu: serf: Build with Python 3.Marius Bakke2020-12-19
| | | | | | | * gnu/packages/patches/serf-python3.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/web.scm (serf)[source](patches): New field. [arguments]: Remove #:scons.
* gnu: python-scipy-documentation: Add a file name for 'scipy-sphinx-theme'.Marius Bakke2020-12-19
| | | | | * gnu/packages/python-xyz.scm (python-numpy-documentation)[native-inputs]: Add a file name for the "scipy-sphinx-time" input.
* gnu: perl-pod-simple: Update to 3.42.Marius Bakke2020-12-19
| | | | * gnu/packages/perl.scm (perl-pod-simple): Update to 3.42.
* gnu: llvm: Update download URI.Marius Bakke2020-12-19
| | | | | | New and old releases are now only available on GitHub. * gnu/packages/llvm.scm (llvm-uri): Remove "releases.llvm.org".
* gnu: perl-json-maybexs: Update to 1.004003.Marius Bakke2020-12-19
| | | | | * gnu/packages/perl.scm (perl-json-maybexs): Update to 1.004003. [native-inputs]: Remove PERL-TEST-WITHOUT-MODULE. Add PERL-TEST-NEEDS.
* gnu: perl-cpanel-json-xs: Update to 4.25.Marius Bakke2020-12-19
| | | | * gnu/packages/perl.scm (perl-cpanel-json-xs): Update to 4.25.
* gnu: perl-common-sense: Update to 3.75.Marius Bakke2020-12-19
| | | | * gnu/packages/perl.scm (perl-common-sense): Update to 3.75.
* gnu: ltrace: Build with elfutils instead of libelf.Marius Bakke2020-12-19
| | | | * gnu/packages/linux.scm (ltrace)[inputs]: Change from LIBELF to ELFUTILS.
* gnu: linux-libre: Update to 5.10.1.Leo Famulari2020-12-19
| | | | | | | | | | | | | * gnu/packages/aux-files/linux-libre/5.10-arm.conf, gnu/packages/aux-files/linux-libre/5.10-arm64.conf, gnu/packages/aux-files/linux-libre/5.10-i686.conf, gnu/packages/aux-files/linux-libre/5.10-x86_64.conf: New files. * Makefile.am (AUX_FILES): Add them. * gnu/packages/linux.scm (linux-libre-5.10-version, deblob-scripts-5.10, linux-libre-5.10-pristine-source, linux-libre-5.10-source, linux-libre-headers-5.10, linux-libre-5.10): New variables. (linux-libre-version, linux-libre-pristine-source, linux-libre-source, linux-libre, linux-libre-with-bpf): Update to 5.10.1.
* gnu: Add cl-qmynd.Sharlatan Hellseher2020-12-19
| | | | | | * gnu/packages/lisp-xyz.scm (cl-qmynd, ecl-qmynd, sbcl-qmynd): New variables. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
* gnu: sbcl-nibbles: Update to 0.14-1.8e6b9b4.Guillaume Le Vaillant2020-12-19
| | | | * gnu/packages/lisp-xyz.scm (sbcl-nibbles): Update to 0.14-1.8e6b9b4.
* gnu: sbcl-lzlib: Update to 1.1-2.cad10f5.Guillaume Le Vaillant2020-12-19
| | | | * gnu/packages/lisp-xyz.scm (sbcl-lzlib): Update to 1.1-2.cad10f5.
* gnu: sbcl-cl-octet-streams: Update to 1.2.Guillaume Le Vaillant2020-12-19
| | | | * gnu/packages/lisp-xyz.scm (sbcl-cl-octet-streams): Update to 1.2.
* gnu: freedroid: Use HTTPS home page URI.Nicolas Goaziou2020-12-19
| | | | * gnu/packages/games.scm (freedroid)[home-page]: Use HTTPS URI.
* gnu: fpc: Use HTTPS home page URI.Nicolas Goaziou2020-12-19
| | | | * gnu/packages/pascal.scm (fpc)[home-page]: Use HTTPS URI.
* gnu: babl: Use HTTPS home page URI.Nicolas Goaziou2020-12-19
| | | | * gnu/packages/gimp.scm (babl)[home-page]: Use HTTPS URI.
* gnu: arb: Use HTTPS home page URI.Nicolas Goaziou2020-12-19
| | | | | * gnu/packages/algebra.scm (arb)[home-page]: Use HTTPS URI. Move above synopsis.
* gnu: java-antlr4-runtime: Update home page.Nicolas Goaziou2020-12-19
| | | | * gnu/packages/java.scm (java-antlr4-runtime)[home-page]: Update it.
* gnu: emacs-helm-selector: Update to 0.4.Pierre Neidhardt2020-12-19
| | | | * gnu/packages/emacs-xyz.scm (emacs-helm-selector): Update to 0.4.
* gnu: dehydrated: Update to 0.7.0.Tobias Geerinckx-Rice2020-12-19
| | | | * gnu/packages/tls.scm (dehydrated): Update to 0.7.0.
* gnu: kexec-tools: Update to 2.0.21.Tobias Geerinckx-Rice2020-12-18
| | | | * gnu/packages/linux.scm (kexec-tools): Update to 2.0.21.
* gnu: facter: Update to 4.0.47.Tobias Geerinckx-Rice2020-12-18
| | | | * gnu/packages/admin.scm (facter): Update to 4.0.47.
* gnu: rgbds: Update to 0.4.2.Tobias Geerinckx-Rice2020-12-18
| | | | * gnu/packages/assembly.scm (rgbds): Update to 0.4.2.
* gnu: ethtool: Update to 5.10.Tobias Geerinckx-Rice2020-12-18
| | | | * gnu/packages/networking.scm (ethtool): Update to 5.10.
* gnu: radeontop: Update to 1.3.Tobias Geerinckx-Rice2020-12-18
| | | | * gnu/packages/linux.scm (radeontop): Update to 1.3.
* gnu: xarchiver: Update to 0.5.4.16.Tobias Geerinckx-Rice2020-12-18
| | | | * gnu/packages/compression.scm (xarchiver): Update to 0.5.4.16.
* gnu: simple-scan: Update to 3.38.2.Tobias Geerinckx-Rice2020-12-18
| | | | * gnu/packages/gnome.scm (simple-scan): Update to 3.38.2.
* gnu: inxi-minimal: Update to 3.2.01-1.Tobias Geerinckx-Rice2020-12-18
| | | | | * gnu/packages/admin.scm (inxi-minimal): Update to 3.2.01-1. [inputs]: Add lvm2 and mdadm.
* gnu: emacs-docker-compose-mode: Add missing input.Adam Kandur2020-12-18
| | | | | | | * gnu/packages/emacs-xyz.scm (emacs-docker-compose-mode)[propagated-inputs]: Add emacs-yaml-mode. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
* gnu: emacs-graphql-mode: Fix version.Nicolas Goaziou2020-12-18
| | | | | * gnu/packages/emacs-xyz.scm (emacs-graphql-mode)[version]: Use monotonic numbering.
* gnu: emacs-eglot: Update to 1.7.Nicolas Goaziou2020-12-18
| | | | * gnu/packages/emacs-xyz.scm (emacs-eglot): Update to 1.7.
* gnu: kdenlive: Add breeze-icons.Hartmut Goebel2020-12-18
| | | | | | | | Since breeze-icons are now longer united into breeze, these need to be explicitly added. * gnu/package/kde.scm (kdenlive)[inputs]: Add breeze-icons. [argmuments]{phases}<wrap-executable>: Add breeze-icons to XDG_DATA_DIRS.
* gnu: breeze: Split from breeze-icons.Hartmut Goebel2020-12-18
| | | | | | | | | | | | | | | | | | KDE breeze is separate from breeze-icons, as it can bee seen by version, download path and git repository path being all different. Thus a package containing both beeze and the breeze-icons contradicts with this upstream separation. * gnu/package/kde.scm (breeze-assets): Remove variable. (breeze): Move to ... * gnu/package/kde-plasme.scm (breeze): here. [version, source]: Copy from former breeze-assets. [build-system]: Make explicit (was inherited even from breeze-icons). [arguments]: Remove. [native-inputs]: New element. [inputs]: Copy from former breeze-assets; add some optional packages. [home-page]: Fix and change to invent.kde.org. [snopysis, description]: Adjust to de-unified package. [licence]: Remove gpl3+, which came from breeze-icons.
* gnu: kactivities: Use qt-build-system.Hartmut Goebel2020-12-18
| | | | | * gnu/packages/kde-frameworks.scm (kactivities)[build-system]: Use qt-build-system.
* gnu: Add kicad-doc.Brice Waegeneire2020-12-18
| | | | | | | * gnu/packages/engineering.scm (kicad-doc): New variable. (kicad)[native-search-paths]: Add 'KICAD'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: emacs-erc-status-sidebar: Correct license.Michael Rohleder2020-12-18
| | | | | | * gnu/packages/emacs-xyz.scm (emacs-erc-status-sidebar)[license]: Set to GPL3+. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: chez-scheme: Patch more hard-coded paths.Brendan Tildesley2020-12-18
| | | | | | | * gnu/packages/chez.scm (chez-scheme): Patch out some /bin/rm and /bin/echo references. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: chez-scheme: Update to 9.5.4.Brendan Tildesley2020-12-18
| | | | | | | | | | | | | | | | * gnu/packages/chez.scm (nanopass): Update to 1.9.1. (stex): Update to 1.2.2. (chez-scheme): Update to 9.5.4. [inputs]: Add newly required lz4 and lz4:static. [arguments]: - Remove unused zlib symbol. - Since we are using ZLIB=, it looks like the substitution of libz.a path in .c/Mf-... files is no longer needed. - add lz4-static symbol and use new LZ4= and ZLIB= configure options to point to their static binaries. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* status: Do not emit ANSI escapes when stderr is not a tty.Ludovic Courtès2020-12-18
| | | | | | | | | Fixes <https://bugs.gnu.org/44985>. Reported by Simon Josefsson <simon@josefsson.org>. * guix/progress.scm (display-download-progress): Add #:tty? and honor it. * guix/status.scm (print-build-event): Pass #:tty? to 'display-download-progress'.
* gnu: Add libticalcs2.Christopher Howard2020-12-18
| | | | | | * gnu/packages/emulators.scm (libticalcs2): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net>
* gnu: Add libtifiles2.Christopher Howard2020-12-18
| | | | | | * gnu/packages/emulators.scm (libtifiles2): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net>
* gnu: Add libticonv.Christopher Howard2020-12-18
| | | | | | * gnu/packages/emulators.scm (libticonv): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net>
* gnu: Add libticables2.Christopher Howard2020-12-18
| | | | | | * gnu/packages/emulators.scm (libticables2): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net>
* import: elpa: Support working with MELPA.Carlo Zancanaro2020-12-18
| | | | | | | | | | | | * guix/import/elpa.scm (default-files-spec): New variable. (download-git-repository, package-name->melpa-recipe, file-hash, vcs-file?, git-repository->origin, melpa-recipe->origin, melpa-recipe->maybe-arguments): New procedures. (elpa-package->sexp): Add optional repo argument, and use it to determine whether to attempt to construct a source using the MELPA recipe. (elpa->guix-package): Pass repo to elpa-package->sexp. Signed-off-by: Christopher Baines <mail@cbaines.net>
* guix-install.sh: Add variable quoting and curly-bracketing.Vincent Legoll2020-12-18
| | | | | | | * etc/guix-install.sh (guix_get_bin)[dl_path]: Add variable quoting and curly-bracketing. Signed-off-by: Christopher Baines <mail@cbaines.net>
* guix-install.sh: Adjust variable use in guix_get_bin_list().Vincent Legoll2020-12-18
| | | | | | | * etc/guix-install.sh (guix_get_bin_list)[BIN_VER]: Add curly-brackets, [latest_ver]: Likewise & add explicit array zero-indexing. Signed-off-by: Christopher Baines <mail@cbaines.net>
* guix-install.sh: Add variable quoting in sys_make_guix_available.Vincent Legoll2020-12-18
| | | | | | * etc/guix-install.sh (sys_make_guix_available): Add variable quoting. Signed-off-by: Christopher Baines <mail@cbaines.net>
* guix-install.sh: Replace tabs with spaces.Vincent Legoll2020-12-18
| | | | | | | | | | Almost the entire file is indented with spaces, a few tabs slipped in, clean them up. * etc/guix-install.sh(chk_sys_arch): Replace tabs with spaces. (sys_enable_guix_daemon): Likewise. Signed-off-by: Christopher Baines <mail@cbaines.net>