diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2008-08-19 05:54:09 +0000 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2008-08-19 05:54:09 +0000 |
commit | 87ff8d6347cd99618bc8f9ff58ddf357ce38c522 (patch) | |
tree | 304d18d1a67cf9e844bf9d772b2a5386d00aa5f0 /pkgs/tools/misc/rlwrap | |
parent | b5b68ce414fabb63a782dd74e86e940350e9a662 (diff) |
Changed builderDefs to use composedArgsAndFun, reduced number of nulls, made overrides in builderDefsPackage to work in an intuitive manner.
svn path=/nixpkgs/trunk/; revision=12655
Diffstat (limited to 'pkgs/tools/misc/rlwrap')
-rw-r--r-- | pkgs/tools/misc/rlwrap/0.28.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/tools/misc/rlwrap/0.28.nix b/pkgs/tools/misc/rlwrap/0.28.nix index 3a8a22a2f5448..b6db8638601bb 100644 --- a/pkgs/tools/misc/rlwrap/0.28.nix +++ b/pkgs/tools/misc/rlwrap/0.28.nix @@ -1,5 +1,5 @@ -args : with args; with builderDefs {src="";} null; - let localDefs = builderDefs { +args : with args; with builderDefs; + let localDefs = builderDefs.meta.function { src = /* put a fetchurl here */ fetchurl { url = ftp://ftp.chg.ru/mirrors/ftp.freebsd.org/pub/FreeBSD/ports/distfiles/rlwrap-0.28.tar.gz; @@ -8,7 +8,7 @@ args : with args; with builderDefs {src="";} null; buildInputs = [readline ]; configureFlags = []; - } null; /* null is a terminator for sumArgs */ + }; in with localDefs; stdenv.mkDerivation rec { name = "rlwrap-"+version; |