about summary refs log tree commit diff
path: root/doc/manual/opt-common.xml
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2009-04-14T13·03+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2009-04-14T13·03+0000
commit435a93b5d845a6fa90675675060ca3cc2d2a650d (patch)
tree95f032245ba5ca8fc2f8ec285ef6b415d9567eed /doc/manual/opt-common.xml
parent8b2a01a8c238f36a71157e4c2f8e6cf6ee6f5309 (diff)
* Remove references to __XXX primops.
Diffstat (limited to 'doc/manual/opt-common.xml')
-rw-r--r--doc/manual/opt-common.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/manual/opt-common.xml b/doc/manual/opt-common.xml
index 316ad6658f74..ac967e23d0db 100644
--- a/doc/manual/opt-common.xml
+++ b/doc/manual/opt-common.xml
@@ -251,14 +251,14 @@
 
 <programlisting>
 { # The system (e.g., `i686-linux') for which to build the packages.
-  system ? __currentSystem
+  system ? builtins.currentSystem
   <replaceable>...</replaceable>
 }: <replaceable>...</replaceable></programlisting>
 
   So if you call this Nix expression (e.g., when you do
   <literal>nix-env -i <replaceable>pkgname</replaceable></literal>),
   the function will be called automatically using the value <link
-  linkend='builtin-currentSystem'><literal>__currentSystem</literal></link>
+  linkend='builtin-currentSystem'><literal>builtins.currentSystem</literal></link>
   for the <literal>system</literal> argument.  You can override this
   using <option>--arg</option>, e.g., <literal>nix-env -i
   <replaceable>pkgname</replaceable> --arg system