about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2018-02-08T18·00-0500
committerShea Levy <shea@shealevy.com>2018-02-08T19·35-0500
commit081f14a169d36243f97263acb41fb108af243619 (patch)
tree563a1287be33bff5b2d36d38a9e77338425d45b4 /doc
parent88cd2d41acb994684a3e4ead1b1676019f43b4b6 (diff)
Allow using RegisterPrimop to define constants.
This enables plugins to add new constants, as well as new primops.
Diffstat (limited to 'doc')
-rw-r--r--doc/manual/command-ref/conf-file.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/manual/command-ref/conf-file.xml b/doc/manual/command-ref/conf-file.xml
index cede6db3cea7..5c4561f66d86 100644
--- a/doc/manual/command-ref/conf-file.xml
+++ b/doc/manual/command-ref/conf-file.xml
@@ -750,7 +750,7 @@ builtins.fetchurl {
         files will be dlopened by Nix, allowing them to affect
         execution through static initialization. In particular, these
         plugins may construct static instances of RegisterPrimOp to
-        add new primops to the expression language,
+        add new primops or constants to the expression language,
         RegisterStoreImplementation to add new store implementations,
         and RegisterCommand to add new subcommands to the
         <literal>nix</literal> command. See the constructors for those