* Allow additional Deb provides/requires to be specified.
svn path=/nixpkgs/trunk/; revision=18139
This commit is contained in:
parent
9e1729637e
commit
f7282b61c3
|
@ -5,6 +5,10 @@
|
||||||
, diskImage
|
, diskImage
|
||||||
, src, stdenv, vmTools, checkinstall
|
, src, stdenv, vmTools, checkinstall
|
||||||
, fsTranslation ? false
|
, fsTranslation ? false
|
||||||
|
, # Features provided by this package.
|
||||||
|
debProvides ? []
|
||||||
|
, # Features required by this package.
|
||||||
|
debRequires ? []
|
||||||
, ... } @ args:
|
, ... } @ args:
|
||||||
|
|
||||||
vmTools.runInLinuxImage (stdenv.mkDerivation (
|
vmTools.runInLinuxImage (stdenv.mkDerivation (
|
||||||
|
@ -56,6 +60,8 @@ vmTools.runInLinuxImage (stdenv.mkDerivation (
|
||||||
|
|
||||||
${checkinstall}/sbin/checkinstall --nodoc -y -D \
|
${checkinstall}/sbin/checkinstall --nodoc -y -D \
|
||||||
--fstrans=${if fsTranslation then "yes" else "no"} \
|
--fstrans=${if fsTranslation then "yes" else "no"} \
|
||||||
|
--requires="${toString debRequires}" \
|
||||||
|
--provides="${toString debProvides}" \
|
||||||
make install
|
make install
|
||||||
|
|
||||||
ensureDir $out/debs
|
ensureDir $out/debs
|
||||||
|
|
Loading…
Reference in a new issue