derivations: Work around pathological memoization behavior.
This works around <https://bugs.gnu.org/36487>. * guix/derivations.scm (invalidate-derivation-caches!): Comment out 'hash-clear!' call.
This commit is contained in:
parent
dac8b27512
commit
e79281be10
|
@ -887,7 +887,10 @@ long-running processes that know what they're doing. Use with care!"
|
||||||
;; caches when they start evaluating packages for another architecture.
|
;; caches when they start evaluating packages for another architecture.
|
||||||
(invalidate-memoization! derivation->bytevector)
|
(invalidate-memoization! derivation->bytevector)
|
||||||
(invalidate-memoization! derivation-path->base16-hash)
|
(invalidate-memoization! derivation-path->base16-hash)
|
||||||
(hash-clear! %derivation-cache))
|
|
||||||
|
;; FIXME: Comment out to work around <https://bugs.gnu.org/36487>.
|
||||||
|
;; (hash-clear! %derivation-cache)
|
||||||
|
)
|
||||||
|
|
||||||
(define derivation-properties
|
(define derivation-properties
|
||||||
(mlambdaq (drv)
|
(mlambdaq (drv)
|
||||||
|
|
Loading…
Reference in New Issue