time-travel-manifest: Use a separate cache per system.

* 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.
This commit is contained in:
Mathieu Othacehe 2022-08-17 15:42:56 +02:00
parent 800393bf14
commit 845c841e21
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -42,7 +42,7 @@ (define-gexp-compiler (guix-instance-compiler (instance <guix-instance>)
;; 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)))))