Update the package derivations table in a transaction
This commit is contained in:
parent
53700c9188
commit
1da2a09cfb
1 changed files with 7 additions and 4 deletions
|
|
@ -2416,11 +2416,14 @@ SELECT 1 FROM derivation_source_file_nars WHERE derivation_source_file_id = $1"
|
||||||
#t "debug: importing channel news not supported\n")
|
#t "debug: importing channel news not supported\n")
|
||||||
#t))
|
#t))
|
||||||
|
|
||||||
(update-package-derivations-table
|
(with-postgresql-transaction
|
||||||
conn
|
conn
|
||||||
git-repository-id
|
(lambda (conn)
|
||||||
(fibers-force guix-revision-id-promise)
|
(update-package-derivations-table
|
||||||
commit)
|
conn
|
||||||
|
git-repository-id
|
||||||
|
(fibers-force guix-revision-id-promise)
|
||||||
|
commit)))
|
||||||
(with-time-logging "updating builds.derivation_output_details_set_id"
|
(with-time-logging "updating builds.derivation_output_details_set_id"
|
||||||
(update-builds-derivation-output-details-set-id
|
(update-builds-derivation-output-details-set-id
|
||||||
conn
|
conn
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue