summary refs log tree commit diff
path: root/pkgs/top-level/template-composing+config.nix
blob: 7ff4f3f9d502448ced7dd1642c8059a3843288d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
args : with args; let localDefs = builderDefs (args // {
		src = /* put a fetchurl here */
		(abort "Specify source");
		useConfig = true;
		reqsList = [
			["true" ]
			["false"]
		];
		/* List consisiting of an even number of strings; "key" "value" */
		configFlags = [
		];
	}) null; /* null is a terminator for sumArgs */
	in with localDefs;
stdenv.mkDerivation rec {
	name = "${(abort "Specify name")}"+version;
	builder = writeScript (name + "-builder")
		(textClosure localDefs [(abort "Check phases") doMakeInstall doForceShare doPropagate]);
	meta = {
		description = "
	${(abort "Specify description")}
";
	};
}