mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
otfcc: fix build (#523361)
This commit is contained in:
commit
987b916f1c
1 changed files with 5 additions and 6 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue