diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-05-13 23:01:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-13 23:01:36 +0200 |
commit | ea29ccbc31e1910359325bce2379b1b0801534d7 (patch) | |
tree | 9807fd2392999d0af0e54c9243e87a8da24c992c /pkgs/applications/networking/instant-messengers | |
parent | 9039bd93e175d057e55a23cd509000e60c8f003b (diff) | |
parent | 6dfc689e95f2085bac2ac9c949ccfd5ce4b639ec (diff) |
Merge pull request #311138 from TomaSajt/cinny_
cinny: fix build on x86_64-darwin
Diffstat (limited to 'pkgs/applications/networking/instant-messengers')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/cinny/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/networking/instant-messengers/cinny/default.nix b/pkgs/applications/networking/instant-messengers/cinny/default.nix index db3b48e4a2a37..87e3d17314014 100644 --- a/pkgs/applications/networking/instant-messengers/cinny/default.nix +++ b/pkgs/applications/networking/instant-messengers/cinny/default.nix @@ -29,6 +29,11 @@ buildNpmPackage rec { npmDepsHash = "sha256-4R+To2LhcnEM9x1noo6MhCckyBKgPWiAi7zgDqAmaN0="; + # Fix error: no member named 'aligned_alloc' in the global namespace + env.NIX_CFLAGS_COMPILE = lib.optionalString ( + stdenv.isDarwin && lib.versionOlder stdenv.hostPlatform.darwinSdkVersion "11.0" + ) "-D_LIBCPP_HAS_NO_LIBRARY_ALIGNED_ALLOCATION=1"; + nativeBuildInputs = [ jq python3 |