diff --git a/pkgs/build-support/release/debian-build.nix b/pkgs/build-support/release/debian-build.nix index 2dae9742467f..75e26efa0b30 100644 --- a/pkgs/build-support/release/debian-build.nix +++ b/pkgs/build-support/release/debian-build.nix @@ -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