Fix retrying code
This commit is contained in:
parent
d183573f58
commit
dfbfc846d6
1 changed files with 6 additions and 6 deletions
|
|
@ -1594,13 +1594,13 @@ SELECT store_path FROM derivation_source_files WHERE id = $1"
|
||||||
'retry)
|
'retry)
|
||||||
(_ #f)))))
|
(_ #f)))))
|
||||||
|
|
||||||
(let loop ((manifest (compute)))
|
(define (add-tmp-root-and-return-drv drv)
|
||||||
(when (eq? mainfest 'retry)
|
(add-temp-root store drv)
|
||||||
(loop (compute)))
|
drv)
|
||||||
|
|
||||||
(define (add-tmp-root-and-return-drv drv)
|
(let loop ((manifest (compute)))
|
||||||
(add-temp-root store drv)
|
(when (eq? manifest 'retry)
|
||||||
drv)
|
(loop (compute)))
|
||||||
|
|
||||||
(simple-format
|
(simple-format
|
||||||
(current-error-port)
|
(current-error-port)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue