Adding support of external utilities in ikiwiki
svn path=/nixpkgs/trunk/; revision=17845
This commit is contained in:
parent
8e9ea2c209
commit
7d52bceffb
@ -3,6 +3,7 @@
|
|||||||
CGISession, CGIFormBuilder, DBFile
|
CGISession, CGIFormBuilder, DBFile
|
||||||
, git ? null
|
, git ? null
|
||||||
, monotone ? null
|
, monotone ? null
|
||||||
|
, extraUtils ? []
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
@ -37,6 +38,7 @@ stdenv.mkDerivation {
|
|||||||
''--prefix PATH : ${git}/bin \''}
|
''--prefix PATH : ${git}/bin \''}
|
||||||
${lib.optionalString (monotone != null)
|
${lib.optionalString (monotone != null)
|
||||||
''--prefix PATH : ${monotone}/bin \''}
|
''--prefix PATH : ${monotone}/bin \''}
|
||||||
|
${lib.concatMapStrings (x: "--prefix PATH : ${x}/bin ") extraUtils}
|
||||||
|
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
@ -7134,6 +7134,7 @@ let
|
|||||||
HTMLTemplate TimeDate CGISession DBFile CGIFormBuilder;
|
HTMLTemplate TimeDate CGISession DBFile CGIFormBuilder;
|
||||||
inherit git; # The RCS should be optional
|
inherit git; # The RCS should be optional
|
||||||
monotone = null;
|
monotone = null;
|
||||||
|
extraUtils = [];
|
||||||
};
|
};
|
||||||
|
|
||||||
imagemagick = import ../applications/graphics/ImageMagick {
|
imagemagick = import ../applications/graphics/ImageMagick {
|
||||||
|
Loading…
Reference in New Issue
Block a user