snyk: clean up x86_64-darwin workaround

This is no longer needed now that both darwin platforms default to the same SDK level
This commit is contained in:
Olivér Falvai
2024-12-24 14:32:33 +01:00
parent 543967be0e
commit 4abeaced18
-6
View File
@@ -29,12 +29,6 @@ buildNpmPackage {
--replace-fail '"version": "1.0.0-monorepo"' '"version": "${version}"'
'';
env.NIX_CFLAGS_COMPILE =
# Fix error: no member named 'aligned_alloc' in the global namespace
lib.optionalString (
stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64
) "-D_LIBCPP_HAS_NO_LIBRARY_ALIGNED_ALLOCATION=1";
nodejs = nodejs_20;
npmBuildScript = "build:prod";