diff options
author | Christopher Baines <mail@cbaines.net> | 2020-04-13 13:57:34 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2020-04-13 13:57:34 +0100 |
commit | 732d20b4ac6133acf8f991f0dcfc54b639e14a54 (patch) | |
tree | 1fbf6e1ba3272dd3d0b6df7146e390e08b8d4cdf /guix-build-coordinator | |
parent | 4281e52862e5809c20774f8296cbe05b4c5d93a5 (diff) | |
download | build-coordinator-732d20b4ac6133acf8f991f0dcfc54b639e14a54.tar build-coordinator-732d20b4ac6133acf8f991f0dcfc54b639e14a54.tar.gz |
Use substitute-derivation in the coordinator
So that it can read the derivation, and store the details in the database.
Diffstat (limited to 'guix-build-coordinator')
-rw-r--r-- | guix-build-coordinator/coordinator.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/guix-build-coordinator/coordinator.scm b/guix-build-coordinator/coordinator.scm index 64a04c3..d76e2a8 100644 --- a/guix-build-coordinator/coordinator.scm +++ b/guix-build-coordinator/coordinator.scm @@ -38,6 +38,9 @@ #:key requested-uuid (priority 0)) + (unless (file-exists? derivation-file) + (substitute-derivation derivation-file)) + (let ((derivation (read-derivation-from-file derivation-file)) (uuid |