mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
Minor change to composing templates.
svn path=/nixpkgs/trunk/; revision=10294
This commit is contained in:
parent
4a49a7befc
commit
746d65bbdb
@ -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