time-travel-manifest: Use a separate cache per system.
authorMathieu Othacehe <othacehe@gnu.org>
Wed, 17 Aug 2022 13:42:56 +0000 (15:42 +0200)
committerMathieu Othacehe <othacehe@gnu.org>
Wed, 17 Aug 2022 13:42:56 +0000 (15:42 +0200)
* etc/time-travel-manifest.scm (<guix-instance-compiler>): Use a separate
cache per system so that parallel system evaluations do no step on each
other's toes.

etc/time-travel-manifest.scm

index f09659d..ab890dd 100644 (file)
@@ -42,7 +42,7 @@
      ;; concurrent accesses are unsafe.
      (mparameterize %store-monad ((%repository-cache-directory
                                    (string-append (%repository-cache-directory)
-                                                  "/time-travel")))
+                                                  "/time-travel/" system)))
        (return (mkdir-p (%repository-cache-directory)))
        (latest-channel-derivation channels)))))