Merge pull request #311138 from TomaSajt/cinny_

cinny: fix build on x86_64-darwin

authored by Weijia Wang and committed by GitHub ea29ccbc 9039bd93

+5
+5
pkgs/applications/networking/instant-messengers/cinny/default.nix
··· 29 29 30 30 npmDepsHash = "sha256-4R+To2LhcnEM9x1noo6MhCckyBKgPWiAi7zgDqAmaN0="; 31 31 32 + # Fix error: no member named 'aligned_alloc' in the global namespace 33 + env.NIX_CFLAGS_COMPILE = lib.optionalString ( 34 + stdenv.isDarwin && lib.versionOlder stdenv.hostPlatform.darwinSdkVersion "11.0" 35 + ) "-D_LIBCPP_HAS_NO_LIBRARY_ALIGNED_ALLOCATION=1"; 36 + 32 37 nativeBuildInputs = [ 33 38 jq 34 39 python3