From bce7526f9a7d4e26242d3128157e30c2fa7ecb0c Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 21 Jul 2014 22:06:36 +0200 Subject: Add comments about global memoization. * guix/build-system/gnu.scm (standard-inputs): Add comment about misplaced memoization. * guix/packages.scm (cache): Likewise. --- guix/build-system/gnu.scm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'guix/build-system/gnu.scm') diff --git a/guix/build-system/gnu.scm b/guix/build-system/gnu.scm index 4fa1d1683d..b2b184db34 100644 --- a/guix/build-system/gnu.scm +++ b/guix/build-system/gnu.scm @@ -250,6 +250,9 @@ derivations for SYSTEM. Include propagated inputs in the result." inputs)))) (define standard-inputs + ;; FIXME: Memoization should be associated with the open store (as for + ;; 'add-text-to-store'), otherwise we get .drv that may not be valid when + ;; switching to another store. (memoize (lambda (system) "Return the list of implicit standard inputs used with the GNU Build -- cgit v1.2.3