tests: Refer to '%derivation-cache' in the right module.

* guix/tests.scm (call-with-external-store): Fix module name for
'%derivation-cache'.
This commit is contained in:
Ludovic Courtès 2021-03-05 11:37:53 +01:00
parent 9d349afaa1
commit b1248016e0
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@ -140,7 +140,7 @@ (define store
(lambda ()
;; Since we're using a different store we must clear the
;; package-derivation cache.
(hash-clear! (@@ (guix packages) %derivation-cache))
(hash-clear! (@@ (guix derivations) %derivation-cache))
(proc store))
(lambda ()