3
0
Fork 0
forked from mirrors/nixpkgs

* Allow additional Deb provides/requires to be specified.

svn path=/nixpkgs/trunk/; revision=18139
This commit is contained in:
Eelco Dolstra 2009-11-05 14:40:25 +00:00
parent 9e1729637e
commit f7282b61c3

View file

@ -5,6 +5,10 @@
, diskImage
, src, stdenv, vmTools, checkinstall
, fsTranslation ? false
, # Features provided by this package.
debProvides ? []
, # Features required by this package.
debRequires ? []
, ... } @ args:
vmTools.runInLinuxImage (stdenv.mkDerivation (
@ -56,6 +60,8 @@ vmTools.runInLinuxImage (stdenv.mkDerivation (
${checkinstall}/sbin/checkinstall --nodoc -y -D \
--fstrans=${if fsTranslation then "yes" else "no"} \
--requires="${toString debRequires}" \
--provides="${toString debProvides}" \
make install
ensureDir $out/debs