From bd9106415099b32a51f66be886d18271e65ac9dd Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 17 Feb 2015 16:42:54 +0100 Subject: Use $Path instead of $ for passAsFile --- doc/manual/expressions/advanced-attributes.xml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'doc/manual/expressions') diff --git a/doc/manual/expressions/advanced-attributes.xml b/doc/manual/expressions/advanced-attributes.xml index fee35f0bef48..83ad6eefc8b1 100644 --- a/doc/manual/expressions/advanced-attributes.xml +++ b/doc/manual/expressions/advanced-attributes.xml @@ -254,11 +254,17 @@ big = "a very long string"; then when the builder runs, the environment variable - big will contain the absolute path to a temporary - file containing a very long string. This is - useful when you need to pass large strings to a builder, since - most operating systems impose a limit on the size of the - environment (typically, a few hundred kilobyte). + bigPath will contain the absolute path to a + temporary file containing a very long + string. That is, for any attribute + x listed in + passAsFile, Nix will pass an environment + variable xPath holding + the path of the file containing the value of attribute + x. This is useful when you need to pass + large strings to a builder, since most operating systems impose a + limit on the size of the environment (typically, a few hundred + kilobyte). -- cgit 1.4.1