diff options
Diffstat (limited to 'pkgs/development/haskell-modules/lib/compose.nix')
-rw-r--r-- | pkgs/development/haskell-modules/lib/compose.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/lib/compose.nix b/pkgs/development/haskell-modules/lib/compose.nix index a831a83a15f55..600bf80cb19c9 100644 --- a/pkgs/development/haskell-modules/lib/compose.nix +++ b/pkgs/development/haskell-modules/lib/compose.nix @@ -123,7 +123,8 @@ rec { */ doDistribute = overrideCabal (drv: { # lib.platforms.all is the default value for platforms (since GHC can cross-compile) - hydraPlatforms = drv.platforms or lib.platforms.all; + hydraPlatforms = lib.subtractLists (drv.badPlatforms or []) + (drv.platforms or lib.platforms.all); }); /* dontDistribute disables the distribution of binaries for the package via hydra. |