store: Document add-to-store' hack for fixed?'.

* guix/store.scm (add-to-store): Document that `fixed?' must be #t.
This commit is contained in:
Ludovic Courtès 2012-11-08 00:26:13 +01:00
parent a3aa25f83d
commit c4c7406b90

View file

@ -414,7 +414,8 @@ (define-operation (add-to-store (string basename)
(boolean recursive?)
(string hash-algo)
(file file-name))
"Add the contents of FILE-NAME under BASENAME to the store."
"Add the contents of FILE-NAME under BASENAME to the store. Note that
FIXED? is for backward compatibility with old Nix versions and must be #t."
store-path)
(define-operation (build-derivations (string-list derivations))