This commit is contained in:
		
							parent
							
								
									a64bbe049e
								
							
						
					
					
						commit
						c6cb792d48
					
				
					 1 changed files with 27 additions and 0 deletions
				
			
		| 
						 | 
					@ -16,6 +16,33 @@ features:</para>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<itemizedlist>
 | 
					<itemizedlist>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  <listitem>
 | 
				
			||||||
 | 
					    <para>Syntactic sugar for writing nested attribute sets.  Instead of
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<programlisting>
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					  foo = {
 | 
				
			||||||
 | 
					    bar = 123;
 | 
				
			||||||
 | 
					    xyzzy = true;
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					  a = { b = { c = "d"; }; };
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					</programlisting>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    you can write
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<programlisting>
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					  foo.bar = 123;
 | 
				
			||||||
 | 
					  foo.xyzzy = true;
 | 
				
			||||||
 | 
					  a.b.c = "d";
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					</programlisting>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    This is useful, for instance, in NixOS configuration files.</para>
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					  </listitem>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <listitem>
 | 
					  <listitem>
 | 
				
			||||||
    <para>Support for Nix channels generated by Hydra, the Nix-based
 | 
					    <para>Support for Nix channels generated by Hydra, the Nix-based
 | 
				
			||||||
    continuous build system.  (Hydra generates NAR archives on the
 | 
					    continuous build system.  (Hydra generates NAR archives on the
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue