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:
parent
14cb5425d4
commit
dbec236928
1 changed files with 1 additions and 0 deletions
|
|
@ -224,6 +224,7 @@
|
||||||
store-path
|
store-path
|
||||||
(begin
|
(begin
|
||||||
(invalidate-derivation-caches!)
|
(invalidate-derivation-caches!)
|
||||||
|
(hash-clear! (@@ (guix packages) %derivation-cache))
|
||||||
(let* ((guix-package (@ (gnu packages package-management)
|
(let* ((guix-package (@ (gnu packages package-management)
|
||||||
guix))
|
guix))
|
||||||
(derivation (package-derivation store guix-package)))
|
(derivation (package-derivation store guix-package)))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue