Users of 'mcached' can now specify a cache ID; furthermore, the cache
hit rate is automatically recorded for all the caches accessed with
'mcached'.
* guix/store.scm (%max-store-connection-caches)
(%store-connection-cache-names): New variables.
(recorder-for-cache): New procedure.
(record-cache-lookup!): Add 'cache-id' parameter and rewrite in terms of
'recorder-for-cache'.
(lookup-cached-object): Add 'cache-id' parameter and honor it.
(%mcached): Add #:cache parameter and honor it.
(mcached): Add '=>' keyword and corresponding clauses.
All these keys had expiration dates. 'tests/keys/ed25519.pub' expired
on 2022-04-24.
Fixes <https://issues.guix.gnu.org/55506>.
* tests/keys/ed25519.pub, tests/keys/ed25519-2.pub,
tests/keys/ed25519-3.pub: Remove expiration date.
* gnu/packages/vim.scm (neovim): Use new style.
[source]: Rewrite using gexps.
[arguments]: Rewrite using gexps.
[inputs and native-inputs]: Remove input labels.
[description]: Run `guix style`.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
DerivationGoal::startBuilder() is waiting for an empty line as a check that
the environment set up is fine.
Fixes <https://issues.guix.gnu.org/55324>.
* nix/libstore/build.cc (DerivationGoal::runChild): Remove 'debug'
statement corresponding to bind mounts.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu/packages/emacs-xyz.scm (emacs-evil): Update to commit
008a6cdb12f15e748979a7d1c2f26c34c84dedbf.
[version]: Bump main version part to 1.15.0.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
* gnu/packages/python-web.scm (python-scrapy)[phases]{check}: Run in
parallel. Disable problematic (when run in parallel) tests.
Use complete sentences for comments.
[native-inputs]: Add python-pytest-xdist.
[description]: Use double space between sentences.
* gnu/packages/games.scm (freedroidrpg): Update to 1.0rc2.
[source]: Handle rc suffix in version number.
[configure-flags]: Use gexps.
[inputs]: Use new style. Add glew.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
* gnu/packages/emacs-xyz.scm (emacs-haskell-snippets): Update to
0.1.0-1-1c29c4a6.
[arguments]: Convert to list of G-Expressions. Drop trailing ‘#t’s.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
* gnu/packages/finance.scm (emacs-ledger-mode): Update to 4.0.0-0-11e85039.
[arguments]: Convert to list of G-Expressions. Use ‘search-input-file’ where
possible. Drop trailing ‘#t’s. While here, respect TESTS? in check phase.
Co-authored-by: Aleksandr Vityazev <avityazev@posteo.org>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
* gnu/packages/patches/emacs-lispy-fix-thread-last-test.patch: New file.
* gnu/packages/emacs-xyz.scm (emacs-lispy): Use it here.
* gnu/local.mk (dist_patch_DATA): Register it here.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
* gnu/packages/emacs-xyz.scm (emacs-elpy)[phases]
{disable-broken-tests}: Delete the elpy-project-find-git-root-test.el test
file. Mark the elpy-company-backend-should-add-shell-candidates,
elpy-eldoc-documentation-should-show-object-onelinedoc,
elpy-shell-send-file-should-accept-large-strings,
elpy-shell-should-echo-outputs as expected failures.
* gnu/packages/emacs-xyz.scm (emacs-libgit)[source]: Drop bundled
emacs-module header.
[#:phases]: Add “patch-source” phase to fix build failure when building
against Emacs 28.
* guix/cpu.scm (current-cpu): Set flags at the beginning of the loop.
Read from '/proc/cpuinfo' until the end of the file. Add match options
for discovering armhf/aarch64 cpu configurations.