forked from mirrors/nixpkgs
* 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
|
||||
, 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
|
||||
|
|
Loading…
Reference in a new issue