diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-06-19 21:50:45 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-06-19 22:56:27 +0200 |
commit | aad086d8717d8ee6fa0ec37dd7932b74fe6398c3 (patch) | |
tree | 6c0b493d673673e870f1c9026c461a76a40fd73c /.dir-locals.el | |
parent | 2ef22a9f371276be0b1474c512f125d1f0d0c064 (diff) | |
download | patches-aad086d8717d8ee6fa0ec37dd7932b74fe6398c3.tar patches-aad086d8717d8ee6fa0ec37dd7932b74fe6398c3.tar.gz |
grafts: Avoid 'query-valid-derivers' RPC.
Previously we'd make 502 'query-valid-derivers' RPCs for
"guix build vim -d", and after this patch, we don't do any.
Furthermore, the previous strategy was "stateful" in the sense that
'item->deriver' could return a derivation that is not the one that was
actually computed by this process, but an "equivalent" one (due to
fixed-output derivations); which one is chosen would depend on the state
of the store.
This in turn means that we'd have to call 'read-derivation-from-file' to
actually read .drv files (as opposed to getting them from
%DERIVATION-CACHE). This is costly and doesn't work with
GUIX_DAEMON_SOCKET=ssh://….
* guix/grafts.scm (item->deriver): Remove.
(reference-origin): New procedure.
(cumulative-grafts): Use it instead of 'item->deriver'.
Diffstat (limited to '.dir-locals.el')
0 files changed, 0 insertions, 0 deletions