diff options
author | Leo Famulari <leo@famulari.name> | 2017-05-24 18:02:27 -0400 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2017-05-24 18:02:27 -0400 |
commit | 38f1163c955945e92ba4d48c6f7c233c7a2aac1f (patch) | |
tree | 19c19ef24df71475d89b648fd3a34dacfe78fdcb /guix | |
parent | 9269ce492576a9fbb5aa39548f03dab9207fb8e9 (diff) | |
parent | ff51a87cae360334ed42c79c3e4e46fb7c121eb2 (diff) | |
download | gnu-guix-38f1163c955945e92ba4d48c6f7c233c7a2aac1f.tar gnu-guix-38f1163c955945e92ba4d48c6f7c233c7a2aac1f.tar.gz |
Merge branch 'master' into core-updates
Diffstat (limited to 'guix')
-rw-r--r-- | guix/scripts/publish.scm | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/guix/scripts/publish.scm b/guix/scripts/publish.scm index db7f6a957e..c306b809a7 100644 --- a/guix/scripts/publish.scm +++ b/guix/scripts/publish.scm @@ -425,11 +425,13 @@ requested using POOL." ;; return 404. (eventually pool (single-baker item - ;; (format #t "baking ~s~%" item) - (bake-narinfo+nar cache item - #:ttl ttl - #:compression compression - #:nar-path nar-path)) + ;; Check whether CACHED has been produced in the meantime. + (unless (file-exists? cached) + ;; (format #t "baking ~s~%" item) + (bake-narinfo+nar cache item + #:ttl ttl + #:compression compression + #:nar-path nar-path))) (when ttl (single-baker 'cache-cleanup |