Keep sorted
This commit is contained in:
		
							parent
							
								
									f19b4abfb2
								
							
						
					
					
						commit
						29e1ff675b
					
				
					 1 changed files with 27 additions and 27 deletions
				
			
		| 
						 | 
				
			
			@ -90,6 +90,33 @@ derivation {
 | 
			
		|||
  </varlistentry>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  <varlistentry><term><varname>impureEnvVars</varname></term>
 | 
			
		||||
 | 
			
		||||
    <listitem><para>This attribute allows you to specify a list of
 | 
			
		||||
    environment variables that should be passed from the environment
 | 
			
		||||
    of the calling user to the builder.  Usually, the environment is
 | 
			
		||||
    cleared completely when the builder is executed, but with this
 | 
			
		||||
    attribute you can allow specific environment variables to be
 | 
			
		||||
    passed unmodified.  For example, <function>fetchurl</function> in
 | 
			
		||||
    Nixpkgs has the line
 | 
			
		||||
 | 
			
		||||
<programlisting>
 | 
			
		||||
impureEnvVars = [ "http_proxy" "https_proxy" <replaceable>...</replaceable> ];
 | 
			
		||||
</programlisting>
 | 
			
		||||
 | 
			
		||||
    to make it use the proxy server configuration specified by the
 | 
			
		||||
    user in the environment variables <envar>http_proxy</envar> and
 | 
			
		||||
    friends.</para>
 | 
			
		||||
 | 
			
		||||
    <para>This attribute is only allowed in <link
 | 
			
		||||
    linkend="fixed-output-drvs">fixed-output derivations</link>, where
 | 
			
		||||
    impurities such as these are okay since (the hash of) the output
 | 
			
		||||
    is known in advance.  It is ignored for all other
 | 
			
		||||
    derivations.</para></listitem>
 | 
			
		||||
 | 
			
		||||
  </varlistentry>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  <varlistentry xml:id="fixed-output-drvs">
 | 
			
		||||
    <term><varname>outputHash</varname></term>
 | 
			
		||||
    <term><varname>outputHashAlgo</varname></term>
 | 
			
		||||
| 
						 | 
				
			
			@ -215,33 +242,6 @@ stdenv.mkDerivation {
 | 
			
		|||
  </varlistentry>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  <varlistentry><term><varname>impureEnvVars</varname></term>
 | 
			
		||||
 | 
			
		||||
    <listitem><para>This attribute allows you to specify a list of
 | 
			
		||||
    environment variables that should be passed from the environment
 | 
			
		||||
    of the calling user to the builder.  Usually, the environment is
 | 
			
		||||
    cleared completely when the builder is executed, but with this
 | 
			
		||||
    attribute you can allow specific environment variables to be
 | 
			
		||||
    passed unmodified.  For example, <function>fetchurl</function> in
 | 
			
		||||
    Nixpkgs has the line
 | 
			
		||||
 | 
			
		||||
<programlisting>
 | 
			
		||||
impureEnvVars = [ "http_proxy" "https_proxy" <replaceable>...</replaceable> ];
 | 
			
		||||
</programlisting>
 | 
			
		||||
 | 
			
		||||
    to make it use the proxy server configuration specified by the
 | 
			
		||||
    user in the environment variables <envar>http_proxy</envar> and
 | 
			
		||||
    friends.</para>
 | 
			
		||||
 | 
			
		||||
    <para>This attribute is only allowed in <link
 | 
			
		||||
    linkend="fixed-output-drvs">fixed-output derivations</link>, where
 | 
			
		||||
    impurities such as these are okay since (the hash of) the output
 | 
			
		||||
    is known in advance.  It is ignored for all other
 | 
			
		||||
    derivations.</para></listitem>
 | 
			
		||||
 | 
			
		||||
  </varlistentry>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  <varlistentry><term><varname>preferLocalBuild</varname></term>
 | 
			
		||||
 | 
			
		||||
    <listitem><para>If this attribute is set to
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue