mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-06 05:43:17 +00:00
cinny: fix build on x86_64-darwin
This commit is contained in:
parent
9f7053ffc1
commit
6dfc689e95
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user