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 */
|
src = /* put a fetchurl here */
|
||||||
(abort "Specify source");
|
(abort "Specify source");
|
||||||
useConfig = true;
|
useConfig = true;
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
args : with args; with builderDefs {src="";} null;
|
args : with args; with builderDefs {src="";} null;
|
||||||
let localDefs = builderDefs {
|
let localDefs = builderDefs (rec {
|
||||||
src = /* put a fetchurl here */
|
src = /* put a fetchurl here */
|
||||||
|
|
||||||
buildInputs = [];
|
buildInputs = [];
|
||||||
configureFlags = [];
|
configureFlags = [];
|
||||||
} null; /* null is a terminator for sumArgs */
|
}) null; /* null is a terminator for sumArgs */
|
||||||
in with localDefs;
|
in with localDefs;
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "${abort "Specify name"}-"+version;
|
name = "${abort "Specify name"}-"+version;
|
||||||
|
Loading…
Reference in New Issue
Block a user