Call add-temp-root for the derivation file names
In an attempt to stop the derivations from being garbage collected between the time they're generated, and when they're potentially read by the Guix Data Service.
This commit is contained in:
parent
381acf312e
commit
f59354ed23
1 changed files with 9 additions and 6 deletions
|
|
@ -396,12 +396,15 @@ WHERE job_id = $1"
|
||||||
(list inferior-package-id
|
(list inferior-package-id
|
||||||
system
|
system
|
||||||
target
|
target
|
||||||
(derivation-file-name
|
(let ((file-name
|
||||||
(if (string=? system target)
|
(derivation-file-name
|
||||||
(package-derivation store package system)
|
(if (string=? system target)
|
||||||
(package-cross-derivation store package
|
(package-derivation store package system)
|
||||||
target
|
(package-cross-derivation store package
|
||||||
system))))))
|
target
|
||||||
|
system)))))
|
||||||
|
(add-temp-root store file-name)
|
||||||
|
file-name))))
|
||||||
(lambda args
|
(lambda args
|
||||||
;; misc-error #f ~A ~S (No
|
;; misc-error #f ~A ~S (No
|
||||||
;; cross-compilation for
|
;; cross-compilation for
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue