fnc: fix build on x86_64-darwin
This commit is contained in:
parent
252e4bdb83
commit
51007d534f
|
@ -16,6 +16,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.cc.isGNU [
|
env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.cc.isGNU [
|
||||||
# Needed with GCC 12
|
# Needed with GCC 12
|
||||||
"-Wno-error=maybe-uninitialized"
|
"-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 = ''
|
preInstall = ''
|
||||||
|
|
|
@ -31611,7 +31611,7 @@ with pkgs;
|
||||||
|
|
||||||
fmsynth = callPackage ../applications/audio/fmsynth { };
|
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 { };
|
focus = callPackage ../tools/X11/focus { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user