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
1 changed files with 2 additions and 1 deletions

View File

@ -414,7 +414,8 @@ again until #t is returned or an error is raised."
(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))