Minor change to composing templates.
svn path=/nixpkgs/branches/stdenv-updates/; revision=10377
This commit is contained in:
parent
433f7fed54
commit
b95a97e2d4
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user