aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/jobs
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2024-10-23 21:52:53 +0200
committerChristopher Baines <mail@cbaines.net>2024-10-27 14:39:52 +0000
commit052cf7580c9fe78db9268fbfbb2dd8c802401dab (patch)
tree77a02fb7d5381d53a65c7452c5dfd600a5b54c91 /guix-data-service/jobs
parent38e5282546f974e428e963fb6ee01412bbcea11c (diff)
downloaddata-service-052cf7580c9fe78db9268fbfbb2dd8c802401dab.tar
data-service-052cf7580c9fe78db9268fbfbb2dd8c802401dab.tar.gz
Ensure the guix derivations are stored prior to attempting to substitute
Diffstat (limited to 'guix-data-service/jobs')
-rw-r--r--guix-data-service/jobs/load-new-guix-revision.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/guix-data-service/jobs/load-new-guix-revision.scm b/guix-data-service/jobs/load-new-guix-revision.scm
index 5fd3eb2..67023b3 100644
--- a/guix-data-service/jobs/load-new-guix-revision.scm
+++ b/guix-data-service/jobs/load-new-guix-revision.scm
@@ -1723,6 +1723,7 @@ SELECT 1 FROM derivation_source_file_nars WHERE derivation_source_file_id = $1"
(unless (valid-path? inferior-store guix-derivation)
(simple-format #t "warning: attempting to substitute guix derivation (~A)\n"
guix-derivation)
+ (fibers-force guix-revision-id-promise)
(ensure-path inferior-store guix-derivation))
(simple-format #t "warning: building (~A)\n"
guix-derivation)