Minor change to composing templates.

svn path=/nixpkgs/trunk/; revision=10294
This commit is contained in:
Michael Raskin 2008-01-25 13:33:26 +00:00
parent 4a49a7befc
commit 746d65bbdb
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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;