Merge pull request #148209 from sternenseemann/doDistribute-all-platforms

haskell.lib{,.compose}.doDistribute: default to lib.platforms.all
This commit is contained in:
sterni 2021-12-02 11:54:12 +01:00 committed by GitHub
commit fdef8095fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,7 +121,10 @@ rec {
/* doDistribute enables the distribution of binaries for the package
via hydra.
*/
doDistribute = overrideCabal (drv: { hydraPlatforms = drv.platforms or ["i686-linux" "x86_64-linux" "x86_64-darwin"]; });
doDistribute = overrideCabal (drv: {
# lib.platforms.all is the default value for platforms (since GHC can cross-compile)
hydraPlatforms = drv.platforms or lib.platforms.all;
});
/* dontDistribute disables the distribution of binaries for the package
via hydra.
*/