Commit 51007d53 authored by Weijia Wang's avatar Weijia Wang
Browse files

fnc: fix build on x86_64-darwin

parent 252e4bdb
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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 = ''
+1 −1
Original line number Diff line number Diff line
@@ -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 { };