mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
ghc: mark integer-simple builds as broken when hostplatform is musl
This commit is contained in:
parent
5b6f2ae03d
commit
be8d8a9efb
3 changed files with 12 additions and 0 deletions
|
@ -309,6 +309,10 @@ stdenv.mkDerivation (rec {
|
||||||
maintainers = with lib.maintainers; [ marcweber andres peti ];
|
maintainers = with lib.maintainers; [ marcweber andres peti ];
|
||||||
timeout = 24 * 3600;
|
timeout = 24 * 3600;
|
||||||
inherit (ghc.meta) license platforms;
|
inherit (ghc.meta) license platforms;
|
||||||
|
|
||||||
|
# integer-simple builds are broken when GHC links against musl.
|
||||||
|
# See https://github.com/NixOS/nixpkgs/pull/129606#issuecomment-881323743.
|
||||||
|
broken = enableIntegerSimple && hostPlatform.isMusl;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // lib.optionalAttrs targetPlatform.useAndroidPrebuilt {
|
} // lib.optionalAttrs targetPlatform.useAndroidPrebuilt {
|
||||||
|
|
|
@ -319,6 +319,10 @@ stdenv.mkDerivation (rec {
|
||||||
maintainers = with lib.maintainers; [ marcweber andres peti ];
|
maintainers = with lib.maintainers; [ marcweber andres peti ];
|
||||||
timeout = 24 * 3600;
|
timeout = 24 * 3600;
|
||||||
inherit (ghc.meta) license platforms;
|
inherit (ghc.meta) license platforms;
|
||||||
|
|
||||||
|
# integer-simple builds are broken when GHC links against musl.
|
||||||
|
# See https://github.com/NixOS/nixpkgs/pull/129606#issuecomment-881323743.
|
||||||
|
broken = enableIntegerSimple && hostPlatform.isMusl;
|
||||||
};
|
};
|
||||||
|
|
||||||
dontStrip = (targetPlatform.useAndroidPrebuilt || targetPlatform.isWasm);
|
dontStrip = (targetPlatform.useAndroidPrebuilt || targetPlatform.isWasm);
|
||||||
|
|
|
@ -296,6 +296,10 @@ stdenv.mkDerivation (rec {
|
||||||
maintainers = with lib.maintainers; [ marcweber andres peti ];
|
maintainers = with lib.maintainers; [ marcweber andres peti ];
|
||||||
timeout = 24 * 3600;
|
timeout = 24 * 3600;
|
||||||
inherit (ghc.meta) license platforms;
|
inherit (ghc.meta) license platforms;
|
||||||
|
|
||||||
|
# integer-simple builds are broken when GHC links against musl.
|
||||||
|
# See https://github.com/NixOS/nixpkgs/pull/129606#issuecomment-881323743.
|
||||||
|
broken = enableIntegerSimple && hostPlatform.isMusl;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // lib.optionalAttrs targetPlatform.useAndroidPrebuilt {
|
} // lib.optionalAttrs targetPlatform.useAndroidPrebuilt {
|
||||||
|
|
Loading…
Reference in a new issue