nixpkgs/doc/stdenv
Jan Tojnar 1efc042d92
maintainers/scripts/update.nix: Add support for auto-commiting changes
Update scripts can now declare features using

	passthru.updateScript = {
	  command = [ ../../update.sh pname ];
	  supportedFeatures = [ "commit" ];
	};

A `commit` feature means that when the update script finishes successfully,
it will print a JSON list like the following:

	[
	  {
	    "attrPath": "volume_key",
	    "oldVersion": "0.3.11",
	    "newVersion": "0.3.12",
	    "files": [
	      "/path/to/nixpkgs/pkgs/development/libraries/volume-key/default.nix"
	    ]
	  }
	]

and data from that will be used when update.nix is run with --argstr commit true
to create commits.

We will create a new git worktree for each thread in the pool and run the update
script there. Then we will commit the change and cherry pick it in the main repo,
releasing the worktree for a next change.
2020-09-20 20:11:22 +02:00
..
cross-compilation.xml nixpkgs manual: fix a typo in cross-compilation 2020-02-10 16:58:50 +01:00
meta.xml licenses: Make single-version-only GPL explicit 2020-07-05 17:51:30 +02:00
multiple-output.xml Merge pull request #76794 from dudebout/document-nix-env-multiple-output-install-bug 2020-09-05 15:40:26 +02:00
platform-notes.xml nixpkgs manual: move stdenv chapters into one folder 2019-10-30 11:17:14 +01:00
stdenv.xml maintainers/scripts/update.nix: Add support for auto-commiting changes 2020-09-20 20:11:22 +02:00