fnc: fix build on x86_64-darwin

This commit is contained in:
Weijia Wang 2023-12-09 20:50:42 +01:00
parent 252e4bdb83
commit 51007d534f
2 changed files with 4 additions and 1 deletions

View File

@ -16,6 +16,9 @@ stdenv.mkDerivation (finalAttrs: {
env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.cc.isGNU [
# Needed with GCC 12
"-Wno-error=maybe-uninitialized"
] ++ lib.optionals stdenv.isDarwin [
# error: 'strtonum' is only available on macOS 11.0 or newer
"-Wno-error=unguarded-availability-new"
]);
preInstall = ''

View File

@ -31611,7 +31611,7 @@ with pkgs;
fmsynth = callPackage ../applications/audio/fmsynth { };
fnc = callPackage ../applications/version-management/fnc { };
fnc = darwin.apple_sdk_11_0.callPackage ../applications/version-management/fnc { };
focus = callPackage ../tools/X11/focus { };