summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-11-08 00:26:13 +0100
committerLudovic Courtès <ludo@gnu.org>2012-11-08 00:26:13 +0100
commitc4c7406b9063dc4db03cbf2609410736974a132f (patch)
treed87eb410c2cbd8693389e5a185a0f0f08edd11dc
parenta3aa25f83dedc39966821eb14c8c3847c242af6c (diff)
downloadguix-c4c7406b9063dc4db03cbf2609410736974a132f.tar.gz
store: Document `add-to-store' hack for `fixed?'.
* guix/store.scm (add-to-store): Document that `fixed?' must be #t.
-rw-r--r--guix/store.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/store.scm b/guix/store.scm
index 0bebe8a564..d1621e4504 100644
--- a/guix/store.scm
+++ b/guix/store.scm
@@ -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))