aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/check.scm
blob: cf9b85d5927bc79e4f6067967f8b28c0ec4c5da3 (about) (plain)
blob size (105KB) exceeds display size limit (100KB).
02b2ff89aed1772ebb42af4150243'>packages: Introduce <content-hash> and use it in <origin>....* guix/packages.scm (<content-hash>): New record type. (define-content-hash-constructor, build-content-hash) (content-hash): New macros. (print-content-hash): New procedure. (<origin>): Rename constructor to '%origin'. [sha256]: Remove field. [hash]: New field. Adjust users. (origin-compatibility-helper, origin): New macros. (origin-sha256): New deprecated procedure. (origin->derivation): Adjust accordingly. * tests/packages.scm ("package-source-derivation, origin, sha512"): New test. * guix/tests.scm: Hide (gcrypt hash) 'sha256' for proper syntax matching. * tests/challenge.scm: Add #:prefix for (gcrypt hash) and adjust users. * tests/derivations.scm: Likewise. * tests/store.scm: Likewise. * tests/graph.scm ("bag DAG, including origins"): Provide 'sha256' field with the right length. * gnu/packages/aspell.scm (aspell-dictionary) (aspell-dict-ca, aspell-dict-it): Use 'hash' and 'content-hash' for proper syntax matching. * gnu/packages/bash.scm (bash-patch): Rename 'sha256' to 'sha256-bv'. * gnu/packages/bootstrap.scm (bootstrap-executable): Rename 'sha256' to 'bv'. * gnu/packages/readline.scm (readline-patch): Likewise. * gnu/packages/virtualization.scm (qemu-patch): Rename 'sha256' to 'sha256-bv'. * guix/import/utils.scm: Hide (gcrypt hash) 'sha256'. Ludovic Courtès 2020-05-11graph: Add 'shortest-path'....* guix/graph.scm (shortest-path): New procedure. * tests/graph.scm ("shortest-path, packages + derivations") ("shortest-path, reverse packages") ("shortest-path, references"): New tests. Ludovic Courtès 2020-05-11graph: reference/referrer node types work with graph traversal....The graph traversal procedures in (guix graph) assume that nodes can be compared with 'eq?', which was not the case for nodes of %REFERENCE-NODE-TYPE and %REFERRER-NODE-TYPE (strings). * guix/scripts/graph.scm (intern): New procedure. (ensure-store-items, references*) (%reference-node-type, non-derivation-referrers) (%referrer-node-type): Use it on all store items. * tests/graph.scm ("node-transitive-edges, references"): New test. Ludovic Courtès 2020-02-05tests: Adjust reverse-bag graph test to recent OCaml changes....This is a followup to 87858bc526a9d577760f55d05a51cb56630f845b. Partly fixes <https://bugs.gnu.org/39374>. Reported by Ellen Papsch <ellen.papsch@wine-logistix.de>. * tests/graph.scm ("reverse bag DAG"): Adjust test to latest OCaml changes. Ludovic Courtès 2019-03-23Merge branch 'staging' into core-updatesMarius Bakke 2019-03-23graph: Add the 'reverse-bag' graph....Suggested by Julien Lepiller. * guix/scripts/graph.scm (%reverse-bag-node-type): New variable. (%node-types): Add it. * tests/graph.scm ("reverse bag DAG"): New test. * doc/guix.texi (Invoking guix graph): Document it. Ludovic Courtès -wrap]: Use regex to find emacs executable. This works even when the version is changed by package transformations (ex: version=git.master) Signed-off-by: Ludovic Courtès <ludo@gnu.org> Morgan Smith 2020-12-01gnu: emacs-next-pgtk: Update to savannah feature/pgtk branch....* gnu/packages/emacs.scm (emacs-next-pgtk): Update to savannah feature/pgtk branch. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Ryan Prior 2020-11-26gnu: Add emacs-next-pgtk....* gnu/packages/emacs.scm (emacs-next-pgtk): New variable. Co-authored-by: Ludovic Courtès <ludo@gnu.org> Andrew Tropin 2020-11-11gnu: emacs.scm: Remove unused module import....* gnu/packages/emacs.scm: Don't import (gnu packages imagemagick). Marius Bakke 2020-11-03Revert "gnu: emacs: Make strip-double-wrap more robust."...This reverts commit b107a19ffb6a6abb7bde3436f3fa359071bd1f5c. It causes too many rebuilds related to emacs-minimal, and fails with "No code for module (guix build glib-or-gtk-build-system)". Nicolas Goaziou 2020-11-03gnu: emacs: Make strip-double-wrap more robust....* gnu/packages/emacs.scm (emacs) [strip-double-wrap]: Use regex to find emacs executable. This works even when the version is changed by package transformations (e.g., version=git.master). Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr> Morgan Smith