diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-03-06 11:02:21 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-03-06 11:41:48 +0100 |
commit | 3182539875a67f5989c73c3c654fe3138bbc275c (patch) | |
tree | 1771dbc919e9d39372c273d713cfbbd08921ee4a | |
parent | ae6d19e7d6fca883b465e85d5b0cb4264b6bd9d9 (diff) | |
download | guix-3182539875a67f5989c73c3c654fe3138bbc275c.tar.gz |
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'.
-rw-r--r-- | guix/tests.scm | 4 |
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 () |