summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-12-19daemon: Do not reset timestamps and permissions on substituted items.Ludovic Courtès
'guix substitute' now takes care of it via 'restore-file'. * nix/libstore/build.cc (SubstitutionGoal::finished): Remove call to 'canonicalisePathMetaData'.
2020-12-19tests: Check the mtime and permissions of substituted items.Ludovic Courtès
* tests/store.scm ("substitute") ("substitute + build-things with output path") ("substitute + build-things with specific output"): Call 'canonical-file?'. * tests/substitute.scm ("substitute, authorized key"): Check the mtime and permissions of "substitute-retrieved".
2020-12-19daemon: Let 'guix substitute' perform hash checks.Ludovic Courtès
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.
2020-12-19tests: Check the build trace for hash mismatches on substitutes.Ludovic Courtès
* tests/store.scm ("substitute, corrupt output hash, build trace"): New test.
2020-12-19gnu: serf: Build with Python 3.Marius Bakke
* 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.
2020-12-19gnu: python-scipy-documentation: Add a file name for 'scipy-sphinx-theme'.Marius Bakke
* gnu/packages/python-xyz.scm (python-numpy-documentation)[native-inputs]: Add a file name for the "scipy-sphinx-time" input.
2020-12-19gnu: perl-pod-simple: Update to 3.42.Marius Bakke
* gnu/packages/perl.scm (perl-pod-simple): Update to 3.42.
2020-12-19gnu: llvm: Update download URI.Marius Bakke
New and old releases are now only available on GitHub. * gnu/packages/llvm.scm (llvm-uri): Remove "releases.llvm.org".
2020-12-19gnu: perl-json-maybexs: Update to 1.004003.Marius Bakke
* gnu/packages/perl.scm (perl-json-maybexs): Update to 1.004003. [native-inputs]: Remove PERL-TEST-WITHOUT-MODULE. Add PERL-TEST-NEEDS.
2020-12-19gnu: perl-cpanel-json-xs: Update to 4.25.Marius Bakke
* gnu/packages/perl.scm (perl-cpanel-json-xs): Update to 4.25.
2020-12-19gnu: perl-common-sense: Update to 3.75.Marius Bakke
* gnu/packages/perl.scm (perl-common-sense): Update to 3.75.
2020-12-19gnu: ltrace: Build with elfutils instead of libelf.Marius Bakke
* gnu/packages/linux.scm (ltrace)[inputs]: Change from LIBELF to ELFUTILS.
2020-12-19gnu: linux-libre: Update to 5.10.1.Leo Famulari
* 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.
2020-12-19gnu: Add cl-qmynd.Sharlatan Hellseher
* gnu/packages/lisp-xyz.scm (cl-qmynd, ecl-qmynd, sbcl-qmynd): New variables. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2020-12-19gnu: sbcl-nibbles: Update to 0.14-1.8e6b9b4.Guillaume Le Vaillant
* gnu/packages/lisp-xyz.scm (sbcl-nibbles): Update to 0.14-1.8e6b9b4.
2020-12-19gnu: sbcl-lzlib: Update to 1.1-2.cad10f5.Guillaume Le Vaillant
* gnu/packages/lisp-xyz.scm (sbcl-lzlib): Update to 1.1-2.cad10f5.
2020-12-19gnu: sbcl-cl-octet-streams: Update to 1.2.Guillaume Le Vaillant
* gnu/packages/lisp-xyz.scm (sbcl-cl-octet-streams): Update to 1.2.
2020-12-19gnu: freedroid: Use HTTPS home page URI.Nicolas Goaziou
* gnu/packages/games.scm (freedroid)[home-page]: Use HTTPS URI.
2020-12-19gnu: fpc: Use HTTPS home page URI.Nicolas Goaziou
* gnu/packages/pascal.scm (fpc)[home-page]: Use HTTPS URI.
2020-12-19gnu: babl: Use HTTPS home page URI.Nicolas Goaziou
* gnu/packages/gimp.scm (babl)[home-page]: Use HTTPS URI.
2020-12-19gnu: arb: Use HTTPS home page URI.Nicolas Goaziou
* gnu/packages/algebra.scm (arb)[home-page]: Use HTTPS URI. Move above synopsis.
2020-12-19gnu: java-antlr4-runtime: Update home page.Nicolas Goaziou
* gnu/packages/java.scm (java-antlr4-runtime)[home-page]: Update it.
2020-12-19gnu: emacs-helm-selector: Update to 0.4.Pierre Neidhardt
* gnu/packages/emacs-xyz.scm (emacs-helm-selector): Update to 0.4.
2020-12-19gnu: dehydrated: Update to 0.7.0.Tobias Geerinckx-Rice
* gnu/packages/tls.scm (dehydrated): Update to 0.7.0.
2020-12-18gnu: kexec-tools: Update to 2.0.21.Tobias Geerinckx-Rice
* gnu/packages/linux.scm (kexec-tools): Update to 2.0.21.
2020-12-18gnu: facter: Update to 4.0.47.Tobias Geerinckx-Rice
* gnu/packages/admin.scm (facter): Update to 4.0.47.
2020-12-18gnu: rgbds: Update to 0.4.2.Tobias Geerinckx-Rice
* gnu/packages/assembly.scm (rgbds): Update to 0.4.2.
2020-12-18gnu: ethtool: Update to 5.10.Tobias Geerinckx-Rice
* gnu/packages/networking.scm (ethtool): Update to 5.10.
2020-12-18gnu: radeontop: Update to 1.3.Tobias Geerinckx-Rice
* gnu/packages/linux.scm (radeontop): Update to 1.3.
2020-12-18gnu: xarchiver: Update to 0.5.4.16.Tobias Geerinckx-Rice
* gnu/packages/compression.scm (xarchiver): Update to 0.5.4.16.
2020-12-18gnu: simple-scan: Update to 3.38.2.Tobias Geerinckx-Rice
* gnu/packages/gnome.scm (simple-scan): Update to 3.38.2.
2020-12-18gnu: inxi-minimal: Update to 3.2.01-1.Tobias Geerinckx-Rice
* gnu/packages/admin.scm (inxi-minimal): Update to 3.2.01-1. [inputs]: Add lvm2 and mdadm.
2020-12-18gnu: emacs-docker-compose-mode: Add missing input.Adam Kandur
* gnu/packages/emacs-xyz.scm (emacs-docker-compose-mode)[propagated-inputs]: Add emacs-yaml-mode. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2020-12-18gnu: emacs-graphql-mode: Fix version.Nicolas Goaziou
* gnu/packages/emacs-xyz.scm (emacs-graphql-mode)[version]: Use monotonic numbering.
2020-12-18gnu: emacs-eglot: Update to 1.7.Nicolas Goaziou
* gnu/packages/emacs-xyz.scm (emacs-eglot): Update to 1.7.
2020-12-18gnu: kdenlive: Add breeze-icons.Hartmut Goebel
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.
2020-12-18gnu: breeze: Split from breeze-icons.Hartmut Goebel
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.
2020-12-18gnu: kactivities: Use qt-build-system.Hartmut Goebel
* gnu/packages/kde-frameworks.scm (kactivities)[build-system]: Use qt-build-system.
2020-12-18gnu: Add kicad-doc.Brice Waegeneire
* gnu/packages/engineering.scm (kicad-doc): New variable. (kicad)[native-search-paths]: Add 'KICAD'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-12-18gnu: emacs-erc-status-sidebar: Correct license.Michael Rohleder
* gnu/packages/emacs-xyz.scm (emacs-erc-status-sidebar)[license]: Set to GPL3+. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-12-18gnu: chez-scheme: Patch more hard-coded paths.Brendan Tildesley
* gnu/packages/chez.scm (chez-scheme): Patch out some /bin/rm and /bin/echo references. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-12-18gnu: chez-scheme: Update to 9.5.4.Brendan Tildesley
* 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>
2020-12-18status: Do not emit ANSI escapes when stderr is not a tty.Ludovic Courtès
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'.
2020-12-18gnu: Add libticalcs2.Christopher Howard
* gnu/packages/emulators.scm (libticalcs2): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-12-18gnu: Add libtifiles2.Christopher Howard
* gnu/packages/emulators.scm (libtifiles2): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-12-18gnu: Add libticonv.Christopher Howard
* gnu/packages/emulators.scm (libticonv): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-12-18gnu: Add libticables2.Christopher Howard
* gnu/packages/emulators.scm (libticables2): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-12-18import: elpa: Support working with MELPA.Carlo Zancanaro
* 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>
2020-12-18guix-install.sh: Add variable quoting and curly-bracketing.Vincent Legoll
* etc/guix-install.sh (guix_get_bin)[dl_path]: Add variable quoting and curly-bracketing. Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-12-18guix-install.sh: Adjust variable use in guix_get_bin_list().Vincent Legoll
* 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>