aboutsummaryrefslogtreecommitdiff
path: root/emacs/guix-ui-package.el
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-02-25 11:48:17 +0100
committerLudovic Courtès <ludo@gnu.org>2016-02-25 12:44:41 +0100
commit0043558082d619d0dc51ef27acda8ebb299c2f2c (patch)
treef0d3097b7b9202e8b940c564422583c1b48ff83d /emacs/guix-ui-package.el
parenta65e2a02fcf6333114cf5cd0e60a3f2f694e391e (diff)
downloadpatches-0043558082d619d0dc51ef27acda8ebb299c2f2c.tar
patches-0043558082d619d0dc51ef27acda8ebb299c2f2c.tar.gz
publish: Do not publish nars for invalid store items.
Before that, /nar requests could succeed if the requested store item exists but is invalid (although such requests were unlikely because the corresponding narinfo request would have failed.) * guix/scripts/publish.scm (render-nar): Add 'store' parameter. Use 'valid-path?' instead of 'file-exists?'. (make-request-handler): Adjust 'render-nar' call accordingly. * tests/publish.scm ("/nar/invalid"): New test.
Diffstat (limited to 'emacs/guix-ui-package.el')
0 files changed, 0 insertions, 0 deletions