diff options
author | Christopher Baines <mail@cbaines.net> | 2019-02-10 09:42:22 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2019-02-10 09:42:22 +0000 |
commit | c88d8335babf437bec3961b24d5aa92c82a59d27 (patch) | |
tree | 2f69e46c93bd30a768aa85e331a2a81936940c50 /guix-data-service/jobs | |
parent | 552723cef15285d36f1ca8ae87d8672a093522d2 (diff) | |
download | data-service-c88d8335babf437bec3961b24d5aa92c82a59d27.tar data-service-c88d8335babf437bec3961b24d5aa92c82a59d27.tar.gz |
Improve the model for derivations
These changes mean that more information about derivations is
recorded. There are a number of corresponding changes in the database
schema that are not tracked in the repository unfortunately.
Diffstat (limited to 'guix-data-service/jobs')
-rw-r--r-- | guix-data-service/jobs/load-new-guix-revision.scm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/guix-data-service/jobs/load-new-guix-revision.scm b/guix-data-service/jobs/load-new-guix-revision.scm index 8aeef51..ea1909a 100644 --- a/guix-data-service/jobs/load-new-guix-revision.scm +++ b/guix-data-service/jobs/load-new-guix-revision.scm @@ -19,7 +19,11 @@ (packages-metadata-ids (inferior-packages->package-metadata-ids conn packages)) (packages-derivation-ids - (inferior-packages->derivation-ids store conn packages))) + (derivations->derivation-ids conn + (map (lambda (package) + (inferior-package-derivation + store package)) + packages)))) (inferior-packages->package-ids conn packages packages-metadata-ids packages-derivation-ids))) |