fnc: fix build on x86_64-darwin
This commit is contained in:
parent
252e4bdb83
commit
51007d534f
2 changed files with 4 additions and 1 deletions
|
@ -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 = ''
|
||||
|
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue