From e57cbfc0484759d741d8f11708ca0c78867adcf9 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Thu, 29 Oct 2020 11:47:29 -0700 Subject: [PATCH] libguestfs: inherit hydraPlatforms from appliance (cherry picked from commit 265f2f576f94d7cbc3149304f2d6d7406b6ee8db) --- pkgs/development/libraries/libguestfs/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/libguestfs/default.nix b/pkgs/development/libraries/libguestfs/default.nix index d8a037aa5f1..b875b357903 100644 --- a/pkgs/development/libraries/libguestfs/default.nix +++ b/pkgs/development/libraries/libguestfs/default.nix @@ -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; }; }