libguestfs: inherit hydraPlatforms from appliance

This commit is contained in:
Jonathan Ringer 2020-10-29 11:47:29 -07:00 committed by Jonathan Ringer
parent 50a4abe3c0
commit 265f2f576f

View File

@ -89,5 +89,7 @@ stdenv.mkDerivation rec {
homepage = "http://libguestfs.org/";
maintainers = with maintainers; [offline];
platforms = platforms.linux;
# this is to avoid "output size exceeded"
hydraPlatforms = if appliance != null then appliance.meta.hydraPlatforms else platforms.linux;
};
}