packages: 'package->bag' keys cache by replacement.
authorLudovic Courtès <ludo@gnu.org>
Sun, 29 Mar 2020 14:14:14 +0000 (16:14 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sun, 29 Mar 2020 21:14:28 +0000 (23:14 +0200)
commit9f7855299604c496d2d2f12041974e33baa0d63b
treee68a0a480be43f5d2a8675227a3f0d04761e6e47
parent18c8a4396bdb9e9c842ef386a2aecfac38943112
packages: 'package->bag' keys cache by replacement.

* guix/packages.scm (package->bag): When GRAFT? is true, use PACKAGE's
replacement as the cache key.  Remove GRAFT? from the list of
secondary cache keys.
guix/packages.scm