summaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-03-06 11:02:21 +0100
committerLudovic Courtès <ludo@gnu.org>2021-03-06 11:41:48 +0100
commit3182539875a67f5989c73c3c654fe3138bbc275c (patch)
tree1771dbc919e9d39372c273d713cfbbd08921ee4a /guix
parentae6d19e7d6fca883b465e85d5b0cb4264b6bd9d9 (diff)
Revert "tests: Refer to '%derivation-cache' in the right module."
This reverts commit b1248016e0492e1897f4d1127ccb07736c9bb6a5, which was a mistake: the two '%derivation-cache' are two different things. It broke tests that use 'call-with-external-store'.
Diffstat (limited to 'guix')
-rw-r--r--guix/tests.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/guix/tests.scm b/guix/tests.scm
index af6f34e0ad..fc3d521163 100644
--- a/guix/tests.scm
+++ b/guix/tests.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -140,7 +140,7 @@ no external store to talk to."
(lambda ()
;; Since we're using a different store we must clear the
;; package-derivation cache.
- (hash-clear! (@@ (guix derivations) %derivation-cache))
+ (hash-clear! (@@ (guix packages) %derivation-cache))
(proc store))
(lambda ()