libguestfs: inherit hydraPlatforms from appliance

(cherry picked from commit 265f2f576f94d7cbc3149304f2d6d7406b6ee8db)
This commit is contained in:
Jonathan Ringer 2020-10-29 11:47:29 -07:00 committed by Jonathan Ringer
parent 1ab68981ef
commit e57cbfc048

View File

@ -91,5 +91,7 @@ stdenv.mkDerivation rec {
homepage = "https://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;
};
}