Adding support of external utilities in ikiwiki

svn path=/nixpkgs/trunk/; revision=17845
This commit is contained in:
Michael Raskin 2009-10-16 08:38:25 +00:00
parent 8e9ea2c209
commit 7d52bceffb
2 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,7 @@
CGISession, CGIFormBuilder, DBFile
, git ? null
, monotone ? null
, extraUtils ? []
}:
stdenv.mkDerivation {
@ -37,6 +38,7 @@ stdenv.mkDerivation {
''--prefix PATH : ${git}/bin \''}
${lib.optionalString (monotone != null)
''--prefix PATH : ${monotone}/bin \''}
${lib.concatMapStrings (x: "--prefix PATH : ${x}/bin ") extraUtils}
done
'';

View File

@ -7134,6 +7134,7 @@ let
HTMLTemplate TimeDate CGISession DBFile CGIFormBuilder;
inherit git; # The RCS should be optional
monotone = null;
extraUtils = [];
};
imagemagick = import ../applications/graphics/ImageMagick {