Skip to content
Snippets Groups Projects
Commit c4c7406b authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

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

* guix/store.scm (add-to-store): Document that `fixed?' must be #t.
parent a3aa25f8
No related branches found
No related tags found
No related merge requests found
...@@ -414,7 +414,8 @@ (define-operation (add-to-store (string basename) ...@@ -414,7 +414,8 @@ (define-operation (add-to-store (string basename)
(boolean recursive?) (boolean recursive?)
(string hash-algo) (string hash-algo)
(file file-name)) (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) store-path)
(define-operation (build-derivations (string-list derivations)) (define-operation (build-derivations (string-list derivations))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment