aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-07-03 20:05:23 +0200
committerLudovic Courtès <ludo@gnu.org>2019-07-03 20:06:31 +0200
commite79281be105b16153c375af5506db31fd1e32698 (patch)
tree04adb74055b84643016c773cbb513f92f6105e47
parentdac8b27512400c1a86b029c3a4a567fdbf45e7de (diff)
downloadguix-e79281be105b16153c375af5506db31fd1e32698.tar.gz
guix-e79281be105b16153c375af5506db31fd1e32698.zip
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.
-rw-r--r--guix/derivations.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/guix/derivations.scm b/guix/derivations.scm
index ebeac31877..9cacca572e 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)