summary refs log tree commit diff
path: root/pkgs/top-level
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2008-01-25 13:33:26 +0000
committerMichael Raskin <7c6f434c@mail.ru>2008-01-25 13:33:26 +0000
commit746d65bbdb79349dbb1ace4a0d438240a95df2e0 (patch)
treeb26d83101fd33350c8c362400bbef18407986905 /pkgs/top-level
parent4a49a7befc93ef4210808c297684e48fcdd0d510 (diff)
Minor change to composing templates.
svn path=/nixpkgs/trunk/; revision=10294
Diffstat (limited to 'pkgs/top-level')
-rw-r--r--pkgs/top-level/template-composing+config.nix2
-rw-r--r--pkgs/top-level/template-composing-builder.nix4
2 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/top-level/template-composing+config.nix b/pkgs/top-level/template-composing+config.nix
index 7ff4f3f9d5024..172cd9c479798 100644
--- a/pkgs/top-level/template-composing+config.nix
+++ b/pkgs/top-level/template-composing+config.nix
@@ -1,4 +1,4 @@
-args : with args; let localDefs = builderDefs (args // {
+args : with args; let localDefs = builderDefs (args // rec {
 		src = /* put a fetchurl here */
 		(abort "Specify source");
 		useConfig = true;
diff --git a/pkgs/top-level/template-composing-builder.nix b/pkgs/top-level/template-composing-builder.nix
index 276bdc762dcac..88bf2b63cfa5b 100644
--- a/pkgs/top-level/template-composing-builder.nix
+++ b/pkgs/top-level/template-composing-builder.nix
@@ -1,10 +1,10 @@
 args : with args; with builderDefs {src="";} null;
-	let localDefs = builderDefs {
+	let localDefs = builderDefs (rec {
 		src = /* put a fetchurl here */
 
 		buildInputs = [];
 		configureFlags = [];
-	} null; /* null is a terminator for sumArgs */
+	}) null; /* null is a terminator for sumArgs */
 	in with localDefs;
 stdenv.mkDerivation rec {
 	name = "${abort "Specify name"}-"+version;