2
0
Fork 0
mirror of git://git.savannah.gnu.org/guix/data-service.git synced 2023-12-14 03:23:03 +01:00

Clear the packages derivation cache

As this should help prevent issues when the previously cached derivation is
removed from the store.
This commit is contained in:
Christopher Baines 2019-04-10 20:20:42 +01:00
parent 14cb5425d4
commit dbec236928

View file

@ -224,6 +224,7 @@
store-path
(begin
(invalidate-derivation-caches!)
(hash-clear! (@@ (guix packages) %derivation-cache))
(let* ((guix-package (@ (gnu packages package-management)
guix))
(derivation (package-derivation store guix-package)))