Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								e5a6c09b12 
								
							 
						 
						
							
							
								
								* Install header files in /nix/include/nix.  
							
							 
							
							
							
						 
						
							2006-09-04 22:41:36 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								4be5443882 
								
							 
						 
						
							
							
								
								* Remove unnecessary inclusions of aterm2.h.  
							
							 
							
							
							
						 
						
							2006-09-04 22:08:40 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								e3ce954582 
								
							 
						 
						
							
							
								
								* Compile the lexer as C++ code.  Remove all the redundant C/C++  
							
							 
							
							... 
							
							
							
							marshalling code. 
							
						 
						
							2006-09-04 21:36:15 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								75068e7d75 
								
							 
						 
						
							
							
								
								* Use a proper namespace.  
							
							 
							
							... 
							
							
							
							* Optimise header file usage a bit.
* Compile the parser as C++. 
							
						 
						
							2006-09-04 21:06:23 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								aab8812732 
								
							 
						 
						
							
							
								
								* Store the Nix libraries in ${libdir}/nix instead of ${libdir}.  
							
							 
							
							
							
						 
						
							2006-09-04 15:12:24 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								7974aae81c 
								
							 
						 
						
							
							
								
								* New primop: builtins.toFile, which writes a string into the store  
							
							 
							
							... 
							
							
							
							and returns its path.  This can be used to (for instance) write
  builders inside a Nix expression, e.g.,
  stdenv.mkDerivation {
    builder = "
      source $stdenv/setup
      ...
    ";
    ...
  } 
							
						 
						
							2006-09-01 12:07:31 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								de90fdf908 
								
							 
						 
						
							
							
								
								* Allow "$" in strings as long as they are not followed by "{".  (Too  
							
							 
							
							... 
							
							
							
							bad flex doesn't have lexical restrictions, the current solution
  isn't quite right...) 
							
						 
						
							2006-09-01 12:04:06 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								f93f7b75be 
								
							 
						 
						
							
							
								
								* Okay, that's a bit harder than expected.  
							
							 
							
							
							
						 
						
							2006-08-30 13:10:04 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								3151bdea55 
								
							 
						 
						
							
							
								
								* Uninitialised variable.  
							
							 
							
							
							
						 
						
							2006-08-30 12:00:27 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								547b119f25 
								
							 
						 
						
							
							
								
								* Support singleton values and nested lists again in `args', but print  
							
							 
							
							... 
							
							
							
							a warning. 
							
						 
						
							2006-08-29 15:40:49 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								2132d9ddeb 
								
							 
						 
						
							
							
								
								* Fix the ~ operator.  
							
							 
							
							
							
						 
						
							2006-08-29 15:29:38 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								1ec9f55741 
								
							 
						 
						
							
							
								
								* In toString, deal with nested lists properly (i.e., flatten them).  
							
							 
							
							
							
						 
						
							2006-08-28 21:47:42 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								1fca76870b 
								
							 
						 
						
							
							
								
								* Removed processBinding, instead we now apply toString to all  
							
							 
							
							... 
							
							
							
							derivation attributes to flatten them into strings.  This is
  possible since string can nowadays be wrapped in contexts that
  describe the derivations/sources referenced by the evaluation of the
  string. 
							
						 
						
							2006-08-28 13:31:06 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								8a6080eb14 
								
							 
						 
						
							
							
								
								* Refactoring.  
							
							 
							
							
							
						 
						
							2006-08-26 16:48:01 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								4b66cebe7b 
								
							 
						 
						
							
							
								
								* Remove those storePath attribute sets, we don't need 'em.  
							
							 
							
							
							
						 
						
							2006-08-25 17:09:55 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								215ec2ddc6 
								
							 
						 
						
							
							
								
								* New primop __toXML (or builtins.toXML) to convert an expression to  
							
							 
							
							... 
							
							
							
							an XML representation stored in a string.  This should be useful to
  pass structured information to builders. 
							
						 
						
							2006-08-24 14:34:29 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								f793caf936 
								
							 
						 
						
							
							
								
								* Refactoring.  
							
							 
							
							
							
						 
						
							2006-08-24 14:16:55 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								da25d80152 
								
							 
						 
						
							
							
								
								* Strict evaluation and XML printing of lists.  
							
							 
							
							
							
						 
						
							2006-08-24 14:03:39 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								943ab38a0d 
								
							 
						 
						
							
							
								
								* Refactoring: move strictEval to libexpr.  
							
							 
							
							
							
						 
						
							2006-08-24 13:39:22 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								9638f3f393 
								
							 
						 
						
							
							
								
								* Pass the autoArgs to findAlongAttrPath so that "nix-instantiate  
							
							 
							
							... 
							
							
							
							foo.nix -A attr --arg name value" will work if (name, value) is
  needed in the evaluation leading up to "attr". 
							
						 
						
							2006-08-23 16:20:14 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								b19cebc513 
								
							 
						 
						
							
							
								
								* Quotes.  
							
							 
							
							
							
						 
						
							2006-08-23 15:46:27 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								38f18aa6d4 
								
							 
						 
						
							
							
								
								* New primop: abort "error message".  
							
							 
							
							
							
						 
						
							2006-08-23 15:46:00 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								4a053bfdfd 
								
							 
						 
						
							
							
								
								* A new primop `builtins', which returns an attribute set containing  
							
							 
							
							... 
							
							
							
							all the primops.  This allows Nix expressions to test for new
  primops and take appropriate action if they're not available.  For
  instance, rather than calling a primop `foo' directly, they could
  say `if builtins ? foo then builtins.foo ... else ...'. 
							
						 
						
							2006-08-23 14:39:11 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								2670642733 
								
							 
						 
						
							
							
								
								* Handle carriage returns.  Fixes NIX-53.  
							
							 
							
							
							
						 
						
							2006-08-16 10:28:44 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								a18d02e0b0 
								
							 
						 
						
							
							
								
								* Print a warning that the subpath operator (~) is deprecated.  
							
							 
							
							
							
						 
						
							2006-08-09 15:08:47 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								1854f84e83 
								
							 
						 
						
							
							
								
								* Fix a few warnings.  
							
							 
							
							
							
						 
						
							2006-08-04 17:07:13 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								4661282fde 
								
							 
						 
						
							
							
								
								* `nix-instantiate ... --arg NAME VALUE': allow arguments to be passed  
							
							 
							
							... 
							
							
							
							to functions from the command line.
* nix-build: started removing backticks. 
							
						 
						
							2006-07-28 16:03:28 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								c11839d7b2 
								
							 
						 
						
							
							
								
								* `nix-instantiate --print-args': print out the valid values for  
							
							 
							
							... 
							
							
							
							functions arguments that have a domain. 
							
						 
						
							2006-07-28 14:01:29 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								ca2238cf81 
								
							 
						 
						
							
							
								
								* Refactoring: get the selection path stuff out of getDerivations()  
							
							 
							
							... 
							
							
							
							and put it into a separate function findAlongAttrPath(). 
							
						 
						
							2006-07-26 15:05:15 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								2317d8f671 
								
							 
						 
						
							
							
								
								* `nix-instantiate --print-args' prints out the arguments of a  
							
							 
							
							... 
							
							
							
							top-level function. 
							
						 
						
							2006-07-25 21:21:50 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								0e6dc72a7a 
								
							 
						 
						
							
							
								
								* Applied rbroek's patch from the branch at  
							
							 
							
							... 
							
							
							
							https://svn.cs.uu.nl:12443/repos/trace/buildfarm-control/trunk/ext/nix/ ,
  with some modifications.  This allows `nix-env -qa' to show the
  attribute path that can be used to unambiguously install a package
  using `nix-env -i -A'.  Example:
    $ nix-env -f top-level/all-packages.nix -qaA subversion xorg-server
    subversionWithJava  subversion-1.2.3
    subversion          subversion-1.3.2
    subversion14        subversion-1.4.0pre-rc1
    xorg.xorgserver     xorg-server-1.1.0 
							
						 
						
							2006-07-25 16:40:38 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								7a3a5d1608 
								
							 
						 
						
							
							
								
								* When there is a domain check, we have to evaluate the argument.  
							
							 
							
							... 
							
							
							
							Can't be lazy! 
							
						 
						
							2006-07-24 16:49:28 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								f4c5531d92 
								
							 
						 
						
							
							
								
								* New language feature: domain checks, which check whether a function  
							
							 
							
							... 
							
							
							
							argument has a valid value, i.e., is in a certain domain.  E.g.,
    { foo : [true false]
    , bar : ["a" "b" "c"]
    }: ...
  This previously could be done using assertions, but domain checks
  will allow the buildfarm to automatically extract the configuration
  space from functions. 
							
						 
						
							2006-07-24 16:35:34 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								57751fdb55 
								
							 
						 
						
							
							
								
								* Refactoring to support domain checks.  
							
							 
							
							
							
						 
						
							2006-07-24 15:16:03 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								4f3725b167 
								
							 
						 
						
							
							
								
								* Better error messages (especially wrt types).  
							
							 
							
							
							
						 
						
							2006-07-19 15:36:15 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								e10b830251 
								
							 
						 
						
							
							
								
								* Doh!  Of couse we cannot memoize across scopes.  
							
							 
							
							
							
						 
						
							2006-07-11 10:29:52 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								b1c63dc362 
								
							 
						 
						
							
							
								
								* Don't use badTerm, it gives awful error messages.  
							
							 
							
							
							
						 
						
							2006-05-30 11:31:33 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								b5988004d6 
								
							 
						 
						
							
							
								
								* Support for srcdir != builddir (NIX-41).  
							
							 
							
							
							
						 
						
							2006-05-12 11:47:45 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								9d72bf8835 
								
							 
						 
						
							
							
								
								* 64-bit compatibility fixes (for problems revealed by building on an Athlon  
							
							 
							
							... 
							
							
							
							64 running 64-bit SUSE).  A patched ATerm library is required to run Nix
  succesfully. 
							
						 
						
							2006-05-11 02:19:43 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								5cabd47394 
								
							 
						 
						
							
							
								
								* Allow function argument default values to refer to other arguments  
							
							 
							
							... 
							
							
							
							of the function.  Implements NIX-45. 
							
						 
						
							2006-05-08 12:52:47 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								310e605995 
								
							 
						 
						
							
							
								
								* Show evaluation stats when NIX_SHOW_STATS=1.  
							
							 
							
							
							
						 
						
							2006-05-08 10:00:37 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								0832956089 
								
							 
						 
						
							
							
								
								* Use the new ATermMap.  
							
							 
							
							
							
						 
						
							2006-05-04 12:21:08 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								d300b4383d 
								
							 
						 
						
							
							
								
								* Optimise null-ary term builders.  Also declare all term builder  
							
							 
							
							... 
							
							
							
							functions as pure, which might improve performance a bit. 
							
						 
						
							2006-05-02 21:58:46 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								68174bdc7d 
								
							 
						 
						
							
							
								
								* Use a linked list of substitutions.  This reduces the amount of  
							
							 
							
							... 
							
							
							
							copying. 
							
						 
						
							2006-05-02 21:39:02 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								c791e94aee 
								
							 
						 
						
							
							
								
								* Removed a bunch of ATreverses.  
							
							 
							
							
							
						 
						
							2006-05-02 17:51:50 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								b52e711910 
								
							 
						 
						
							
							
								
								* Huge reduction in memory use (2/3 or so on large nix-env -qas  
							
							 
							
							... 
							
							
							
							operations): share ATermMaps between DrvInfos. 
							
						 
						
							2006-05-02 17:12:03 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								11ae2d1e7a 
								
							 
						 
						
							
							
								
								* Memory reduction: replaced expensive calls to ATmakeApplList by  
							
							 
							
							... 
							
							
							
							ATmakeApplArray, and got rid of ATreverse in substitute(). 
							
						 
						
							2006-05-02 14:07:28 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								dc719e6ba5 
								
							 
						 
						
							
							
								
								* Some preliminaries towards NIX-45.  
							
							 
							
							
							
						 
						
							2006-05-02 13:39:55 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								7276e194ee 
								
							 
						 
						
							
							
								
								* Disallow unescaped $ in string literals.  
							
							 
							
							
							
						 
						
							2006-05-01 15:29:46 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								0064599a27 
								
							 
						 
						
							
							
								
								* String interpolation.  Expressions like  
							
							 
							
							... 
							
							
							
							"--with-freetype2-library=" + freetype + "/lib"
  can now be written as
    "--with-freetype2-library=${freetype}/lib"
  An arbitrary expression can be enclosed within ${...}, not just
  identifiers.
* Escaping in string literals: \n, \r, \t interpreted as in C, any
  other character following \ is interpreted as-is.
  
* Newlines are now allowed in string literals. 
							
						 
						
							2006-05-01 14:01:47 +00:00