otfcc: unbreak

This commit is contained in:
Thomas Butter
2026-05-23 13:05:59 +00:00
parent a089ce8489
commit 12c8c51ddd
+5 -6
View File
@@ -24,6 +24,11 @@ stdenv.mkDerivation rec {
./move-makefiles.patch
];
postPatch = ''
substituteInPlace premake5.lua \
--replace-fail 'flags { "StaticRuntime" }' 'staticruntime "On"'
'';
buildFlags = lib.optionals stdenv.hostPlatform.isAarch64 [ "config=release_arm" ];
installPhase = ''
@@ -39,11 +44,5 @@ stdenv.mkDerivation rec {
license = lib.licenses.asl20;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ ttuegel ];
# Build fails on all platforms with
# > configure flags: gmake
# > ** Warning: action 'xcode4' sets 'os' field, which is deprecated, use 'targetos' instead.
# > Error: invalid value 'StaticRuntime' for flags
broken = true;
};
}