diff options
author | sternenseemann <sternenseemann@systemli.org> | 2021-12-01 23:15:26 +0100 |
---|---|---|
committer | sternenseemann <sternenseemann@systemli.org> | 2021-12-02 11:27:12 +0100 |
commit | 6496069ddaa38504450897831579b44798cab454 (patch) | |
tree | 0e1e1f5f504620f426e1e9c21b8d96a3c6f31b8f /pkgs/development/haskell-modules/lib | |
parent | 512c0ee78a8dcfc74758108822247f1205cbf909 (diff) |
haskell.lib{,.compose}.doDistribute: default to lib.platforms.all
This reflects the default value set in generic-builder.nix, following the reasoning that GHC can cross-compile and we assume that packages are generally portable.
Diffstat (limited to 'pkgs/development/haskell-modules/lib')
-rw-r--r-- | pkgs/development/haskell-modules/lib/compose.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/lib/compose.nix b/pkgs/development/haskell-modules/lib/compose.nix index d84c804272dbe..f19b6241f267c 100644 --- a/pkgs/development/haskell-modules/lib/compose.nix +++ b/pkgs/development/haskell-modules/lib/compose.nix @@ -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. */ |