diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-12-09 20:50:42 +0100 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-12-09 20:50:42 +0100 |
commit | 51007d534f0b124109f01bb6389abdad243dc815 (patch) | |
tree | 930fd59ade348788a10923557ecf601b624db549 /pkgs/applications/version-management/fnc | |
parent | 252e4bdb8320fcafcd8de58fe775166cba9daa37 (diff) |
fnc: fix build on x86_64-darwin
Diffstat (limited to 'pkgs/applications/version-management/fnc')
-rw-r--r-- | pkgs/applications/version-management/fnc/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/version-management/fnc/default.nix b/pkgs/applications/version-management/fnc/default.nix index 1ab1d3b84ae21..e07b538544002 100644 --- a/pkgs/applications/version-management/fnc/default.nix +++ b/pkgs/applications/version-management/fnc/default.nix @@ -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 = '' |