tinycc: unbreak on x86_64-darwin

This commit is contained in:
Weijia Wang 2023-01-02 23:33:08 +01:00
parent 1ca08d4c63
commit 9144942aa3
2 changed files with 7 additions and 2 deletions

View file

@ -78,6 +78,10 @@ stdenv.mkDerivation rec {
doCheck = true;
checkTarget = "test";
# https://www.mail-archive.com/tinycc-devel@nongnu.org/msg10142.html
preCheck = lib.optionalString (stdenv.isDarwin && stdenv.isx86_64) ''
rm tests/tests2/{108,114}*
'';
meta = with lib; {
homepage = "https://repo.or.cz/tinycc.git";
@ -106,7 +110,8 @@ stdenv.mkDerivation rec {
license = licenses.lgpl21Only;
maintainers = with maintainers; [ joachifm AndersonTorres ];
platforms = platforms.unix;
broken = stdenv.isDarwin;
# https://www.mail-archive.com/tinycc-devel@nongnu.org/msg10199.html
broken = stdenv.isDarwin && stdenv.isAarch64;
};
}
# TODO: more multiple outputs

View file

@ -15671,7 +15671,7 @@ with pkgs;
gconf = gnome2.GConf;
};
tinycc = callPackage ../development/compilers/tinycc { };
tinycc = darwin.apple_sdk_11_0.callPackage ../development/compilers/tinycc { };
tinygo = callPackage ../development/compilers/tinygo {
llvmPackages = llvmPackages_14;