[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: derivations: Work around pathological memoization behavior.
From: |
guix-commits |
Subject: |
01/01: derivations: Work around pathological memoization behavior. |
Date: |
Wed, 3 Jul 2019 14:09:16 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit e79281be105b16153c375af5506db31fd1e32698
Author: Ludovic Courtès <address@hidden>
Date: Wed Jul 3 20:05:23 2019 +0200
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.
---
guix/derivations.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/guix/derivations.scm b/guix/derivations.scm
index ebeac31..9cacca5 100644
--- a/guix/derivations.scm
+++ b/guix/derivations.scm
@@ -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.
(invalidate-memoization! derivation->bytevector)
(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
(mlambdaq (drv)