Arnout Engelen 
								
							 
						 
						
							
							
							
							
								
							
							
								95be8d3b12 
								
							 
						 
						
							
							
								
								Document builtins.placeholder  
							
							... 
							
							
							
							(cherry picked from commit 4e70652ee33641a6cfddbfb9b7d741515f1bf98a) 
							
						 
						
							2020-01-04 14:12:22 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ersin Akinci 
								
							 
						 
						
							
							
							
							
								
							
							
								93d6814847 
								
							 
						 
						
							
							
								
								Tweak path hint  
							
							... 
							
							
							
							(cherry picked from commit f107a270026596e525bdf8df0e2d331783ec4a10) 
							
						 
						
							2020-01-04 14:10:19 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ersin Akinci 
								
							 
						 
						
							
							
							
							
								
							
							
								e9c0c772b0 
								
							 
						 
						
							
							
								
								Add hint about path in builtins.import  
							
							... 
							
							
							
							(cherry picked from commit b7a936224ee6e1ad9c842f618bbd5bc1864ebd54) 
							
						 
						
							2020-01-04 14:10:15 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ersin Akinci 
								
							 
						 
						
							
							
							
							
								
							
							
								1ea63a5931 
								
							 
						 
						
							
							
								
								Revert "Document import <path> syntax"  
							
							... 
							
							
							
							This reverts commit d8730fb86facadbef22d3df7f8a743a56e7ed53c.
(cherry picked from commit 9be7787ec04d604a4e65a22a6b9ae56567aaf618) 
							
						 
						
							2020-01-04 14:09:59 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ersin Akinci 
								
							 
						 
						
							
							
							
							
								
							
							
								c7b4bf1c9c 
								
							 
						 
						
							
							
								
								Document import <path> syntax  
							
							... 
							
							
							
							(cherry picked from commit d8730fb86facadbef22d3df7f8a743a56e7ed53c) 
							
						 
						
							2020-01-04 13:40:46 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Silvan Mosberger 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								7c9ad4d0d7 
								
							 
						 
						
							
							
								
								docs: Note that tryEval doesn't do deep evaluation  
							
							... 
							
							
							
							(cherry picked from commit e4ea3e03066a760c8cd462108af99aebaaa44c1b) 
							
						 
						
							2019-10-09 16:25:42 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Julien Tanguy 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								ff7fcd3805 
								
							 
						 
						
							
							
								
								docs: Fix a typo in github in an example  
							
							... 
							
							
							
							(cherry picked from commit 92ede15dd902f7c1d2771c194b8bb73fe406840f) 
							
						 
						
							2019-10-09 16:25:17 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Julien Tanguy 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								ceddbc921f 
								
							 
						 
						
							
							
								
								docs: Use the explicit ref for fetchGit with a tag  
							
							... 
							
							
							
							With the merge of #2582 , the syntax "tags/1.9" for refs does not work
anymore.
However, the new syntax "refs/tags/1.9" seems to support annotated tags,
such as "refs/tags/2.0".
Closes  #2385 .
(cherry picked from commit ae244af242ca3621e5a3b9196f27d9fcbf297266) 
							
						 
						
							2019-10-09 16:25:11 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Alexandre Esteves 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								62d1c60fb3 
								
							 
						 
						
							
							
								
								Move 'builtins.splitVersion' to position respecting alphabetical order  
							
							... 
							
							
							
							(cherry picked from commit 9533d85ce009c65722a2addc55b64ee51f15dea3) 
							
						 
						
							2019-10-09 16:24:49 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Danny Bautista 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								3c5788d094 
								
							 
						 
						
							
							
								
								Fix typos in the Nix Manual.  
							
							... 
							
							
							
							(cherry picked from commit 00a567588e43b51944a9b91c1e890bda27773aed) 
							
						 
						
							2019-10-09 16:23:31 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eelco Dolstra 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								b5ae85f088 
								
							 
						 
						
							
							
								
								Merge pull request  #2882  from grahamc/docs/1115-tarball-ttl  
							
							... 
							
							
							
							tarball-ttl: document 
							
						 
						
							2019-07-06 00:15:27 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Graham Christensen 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								648bdf153d 
								
							 
						 
						
							
							
								
								tarball-ttl: document  
							
							... 
							
							
							
							Incorporates text from Niklas Hambüchen in #2978 
Closes  #1115  
							
						 
						
							2019-07-05 15:55:28 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eelco Dolstra 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								33db1d35ae 
								
							 
						 
						
							
							
								
								Merge pull request  #2582  from LnL7/fetchgit-refs  
							
							... 
							
							
							
							fetchGit: allow fetching explicit refs 
							
						 
						
							2019-07-02 15:44:31 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Graham Christensen 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								c8205a3413 
								
							 
						 
						
							
							
								
								builtins.fetchGit: document absolute ref support  
							
							
							
						 
						
							2019-07-02 09:05:56 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Daniel Schaefer 
								
							 
						 
						
							
							
							
							
								
							
							
								3f192ac80c 
								
							 
						 
						
							
							
								
								Add builtins.hashFile  
							
							... 
							
							
							
							For text files it is possible to do it like so:
`builtins.hashString "sha256" (builtins.readFile /tmp/a)`
but that doesn't work for binary files.
With builtins.hashFile any kind of file can be conveniently hashed. 
							
						 
						
							2019-05-03 17:23:36 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									zimbatm 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								514b3c7f83 
								
							 
						 
						
							
							
								
								Add isPath primop  
							
							... 
							
							
							
							this is added for completeness' sake since all the other possible
`builtins.typeOf` results have a corresponding `builtins.is<Type>` 
							
						 
						
							2019-03-24 11:36:49 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Heckemann 
								
							 
						 
						
							
							
							
							
								
							
							
								6f093073b6 
								
							 
						 
						
							
							
								
								manual: include builtins.* for globally available builtins  
							
							... 
							
							
							
							This improves searchability. 
							
						 
						
							2019-03-21 09:37:22 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimír Čunát 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								4cfc131ec4 
								
							 
						 
						
							
							
								
								manual nitpick: document sha512 support in hashString  
							
							
							
						 
						
							2019-03-01 14:30:30 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Felix C. Stegerman 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								fb2c21f71c 
								
							 
						 
						
							
							
								
								manual: quote $servlets  
							
							
							
						 
						
							2018-11-13 01:18:26 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Felix C. Stegerman 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								18215be59d 
								
							 
						 
						
							
							
								
								fix typo (s/gift/git/)  
							
							
							
						 
						
							2018-11-12 17:50:39 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Heckemann 
								
							 
						 
						
							
							
							
							
								
							
							
								34d2948f21 
								
							 
						 
						
							
							
								
								Fix manual build  
							
							... 
							
							
							
							This was broken by some missing closing tags in 0bea4a50e0 
							
						 
						
							2018-11-08 14:07:19 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eelco Dolstra 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								750400e0fa 
								
							 
						 
						
							
							
								
								Merge pull request  #2524  from domenkozar/deprecate-toPath  
							
							... 
							
							
							
							Deprecate builtins.toPath 
							
						 
						
							2018-11-08 13:22:21 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Domen Kožar 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								0bea4a50e0 
								
							 
						 
						
							
							
								
								Deprecate builtins.toPath  
							
							
							
						 
						
							2018-11-08 12:03:50 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Profpatsch 
								
							 
						 
						
							
							
							
							
								
							
							
								05cfc71cab 
								
							 
						 
						
							
							
								
								manual: add XML IDs to all builtin list entries  
							
							
							
						 
						
							2018-10-02 15:38:16 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Graham Christensen 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								0b7568fb73 
								
							 
						 
						
							
							
								
								Drop ssh://... as a required formatting for builtins.fetchGit  
							
							
							
						 
						
							2018-08-31 19:49:56 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Graham Christensen 
								
							 
						 
						
							
							
							
							
								
							
							
								2df21b78b9 
								
							 
						 
						
							
							
								
								docs: Add some examples to fetchGit  
							
							
							
						 
						
							2018-08-31 10:00:32 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Michael Raskin 
								
							 
						 
						
							
							
							
							
								
							
							
								17bc757980 
								
							 
						 
						
							
							
								
								manual: builtins.fromJSON: remove the claim that floats are not allowed  
							
							... 
							
							
							
							floating-point numbers are supported now, including the fromJSON
builtin. Reported on IRC by inquisitiv3 
							
						 
						
							2018-06-10 14:20:18 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Shea Levy 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								bbbfc180d9 
								
							 
						 
						
							
							
								
								Explicitly describe the effects of filterSource excluding a directory.  
							
							
							
						 
						
							2018-05-30 12:34:41 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Graham Christensen 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								f9940f47b3 
								
							 
						 
						
							
							
								
								Merge pull request  #2164  from mickours/doc-fetchTarball-timout  
							
							... 
							
							
							
							Explain fetchTarball timeout behavior in the doc 
							
						 
						
							2018-05-30 08:04:26 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Michael Mercier 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								8dd2e28374 
								
							 
						 
						
							
							
								
								Explain fetchTarball timeout behavior in the doc  
							
							
							
						 
						
							2018-05-30 08:02:46 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									volth 
								
							 
						 
						
							
							
							
							
								
							
							
								88c1ea30e4 
								
							 
						 
						
							
							
								
								add docs and tests  
							
							
							
						 
						
							2018-05-24 12:51:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Justin Humm 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								045eb84409 
								
							 
						 
						
							
							
								
								document that writeTextFile from Nixpkgs is an alternative to builtins.toFile  
							
							
							
						 
						
							2018-04-03 23:26:47 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Shea Levy 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								6856fe62b0 
								
							 
						 
						
							
							
								
								Document fetchGit.  
							
							... 
							
							
							
							Fixes  #1981 . 
						
							2018-03-23 07:02:45 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Shea Levy 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								b095c06139 
								
							 
						 
						
							
							
								
								Add splitVersion primop.  
							
							... 
							
							
							
							Fixes  #1868 . 
						
							2018-02-14 09:55:43 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Shea Levy 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								69d82e5c58 
								
							 
						 
						
							
							
								
								Add path primop.  
							
							... 
							
							
							
							builtins.path allows specifying the name of a path (which makes paths
with store-illegal names now addable), allows adding paths with flat
instead of recursive hashes, allows specifying a filter (so is a
generalization of filterSource), and allows specifying an expected
hash (enabling safe path adding in pure mode). 
							
						 
						
							2018-02-06 16:48:08 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Chris Martin 
								
							 
						 
						
							
							
							
							
								
							
							
								2a8f09a8c1 
								
							 
						 
						
							
							
								
								Add builtins.concatStringSep to the manual  
							
							
							
						 
						
							2017-12-11 14:28:03 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Zoran Plesivčak 
								
							 
						 
						
							
							
							
							
								
							
							
								ae506c1ea4 
								
							 
						 
						
							
							
								
								Mention isFloat function in "Built-in Functions" section  
							
							
							
						 
						
							2017-11-01 23:00:08 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Zoran Plesivčak 
								
							 
						 
						
							
							
							
							
								
							
							
								3050395810 
								
							 
						 
						
							
							
								
								Mention "float" type in builtins.typeOf section of the docs  
							
							... 
							
							
							
							+ remove trailing whitespace from the file 
							
						 
						
							2017-11-01 21:36:25 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								2ee1b9359b 
								
							 
						 
						
							
							
								
								Merge branch 'tokenize' of  https://github.com/nbp/nix  
							
							
							
						 
						
							2017-08-16 21:21:36 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Nicolas B. Pierron 
								
							 
						 
						
							
							
							
							
								
							
							
								b8867a0239 
								
							 
						 
						
							
							
								
								Add builtins.string function.  
							
							... 
							
							
							
							The function 'builtins.split' takes a POSIX extended regular expression
and an arbitrary string. It returns a list of non-matching substring
interleaved by lists of matched groups of the regular expression.
```nix
with builtins;
assert split "(a)b" "abc"      == [ "" [ "a" ] "c" ];
assert split "([ac])" "abc"    == [ "" [ "a" ] "b" [ "c" ] "" ];
assert split "(a)|(c)" "abc"   == [ "" [ "a" null ] "b" [ null "c" ] "" ];
assert split "([[:upper:]]+)" "  FOO   "
                               == [ "  " [ "FOO" ] "   " ];
``` 
							
						 
						
							2017-08-15 20:04:11 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Nicolas B. Pierron 
								
							 
						 
						
							
							
							
							
								
							
							
								27417c6160 
								
							 
						 
						
							
							
								
								Move builtins.match documentation between map and mul.  
							
							
							
						 
						
							2017-08-15 18:34:24 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Harmen 
								
							 
						 
						
							
							
							
							
								
							
							
								1e0f59ae14 
								
							 
						 
						
							
							
								
								use sha256 hashes in the examples  
							
							... 
							
							
							
							And fix a dead link. 
							
						 
						
							2017-07-15 21:06:30 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Pyry Jahkola 
								
							 
						 
						
							
							
							
							
								
							
							
								370428f86d 
								
							 
						 
						
							
							
								
								Remove stray > in builtins doc  
							
							
							
						 
						
							2017-05-28 20:47:35 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eelco Dolstra 
								
							 
						 
						
							
							
							
							
								
							
							
								b303ad012c 
								
							 
						 
						
							
							
								
								Merge pull request  #1382  from FRidh/patch-1  
							
							... 
							
							
							
							Document fetchTarball can take a sha256 
							
						 
						
							2017-05-24 11:07:36 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eelco Dolstra 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								f134fc4cbe 
								
							 
						 
						
							
							
								
								Document that builtins.match takes a POSIX extended RE  
							
							
							
						 
						
							2017-05-17 12:18:18 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Frederik Rietdijk 
								
							 
						 
						
							
							
							
							
								
							
							
								2b2de5ef6a 
								
							 
						 
						
							
							
								
								Document fetchTarball can take a sha256  
							
							... 
							
							
							
							Note that I refer to `nix-prefetch-url`. 
							
						 
						
							2017-05-11 13:38:13 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eelco Dolstra 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								1fd59447d5 
								
							 
						 
						
							
							
								
								Typo  
							
							
							
						 
						
							2017-05-10 18:38:17 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Domen Kožar 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								82a9c93c7f 
								
							 
						 
						
							
							
								
								doc: builtins.attrNames returns alphabetically sorted list  
							
							
							
						 
						
							2017-05-10 11:23:12 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Heckemann 
								
							 
						 
						
							
							
							
							
								
							
							
								9622d00afa 
								
							 
						 
						
							
							
								
								Manual: document tryEval  
							
							
							
						 
						
							2017-04-17 10:33:53 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eelco Dolstra 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								79f4583f8a 
								
							 
						 
						
							
							
								
								Fix XML validity  
							
							
							
						 
						
							2017-02-21 13:04:31 +01:00