store: Add #:select? parameter to 'add-to-store'.
authorLudovic Courtès <ludo@gnu.org>
Wed, 15 Jun 2016 09:51:16 +0000 (11:51 +0200)
committerLudovic Courtès <ludo@gnu.org>
Wed, 15 Jun 2016 13:26:30 +0000 (15:26 +0200)
commit1ec32f4a9d35f235a9947f288370af1445f8ab8b
treed046fc2f0f6c6052e43e84311df6adb27484b92c
parent0fb9a15bb5faf34214689810ff98b23a4295f04e
store: Add #:select? parameter to 'add-to-store'.

* guix/store.scm (write-arg): Remove 'file' case.
(true): New procedure.
(add-to-store): Add #:select? parameter and honor it.  Use hand-coded
stub instead of 'operation'.
(interned-file): Add #:select? parameter and honor it.
* doc/guix.texi (The Store Monad): Adjust 'interned-file' documentation
accordingly.
doc/guix.texi
guix/store.scm