apache-airflow: fix building on darwin

(cherry picked from commit 9148fd996c)
This commit is contained in:
Sergei Volkov 2026-06-03 18:26:52 +02:00 committed by github-actions[bot]
commit a88dd02589

View file

@ -105,6 +105,10 @@ let
inherit src version;
sourceRoot = "${src.name}/airflow-core/src/airflow/ui";
# vite build resolves "localhost" during the build, which the darwin
# sandbox blocks by default (getaddrinfo ENOTFOUND localhost).
__darwinAllowLocalNetworking = stdenv.hostPlatform.isDarwin;
nativeBuildInputs = [
nodejs
pnpm
@ -139,6 +143,8 @@ let
inherit src version;
sourceRoot = "${src.name}/airflow-core/src/airflow/api_fastapi/auth/managers/simple/ui";
__darwinAllowLocalNetworking = stdenv.hostPlatform.isDarwin;
nativeBuildInputs = [
nodejs
pnpm