apache-airflow: fix building on darwin (#527651)

This commit is contained in:
Thomas Gerbet
2026-06-04 06:37:50 +00:00
committed by GitHub

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