forked from mirrors/nixpkgs
ghc: mark integer-simple builds as broken when hostplatform is musl
This commit is contained in:
parent
5b6f2ae03d
commit
be8d8a9efb
|
@ -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