mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
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.
This commit is contained in:
parent
512c0ee78a
commit
6496069dda
1 changed files with 4 additions and 1 deletions
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue