this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

psy

+10 -11
+10 -11
.tangled/workflows/build.yml
··· 30 30 - skopeo 31 31 - nix 32 32 - postgresql_15 33 + - postgresql_15.pg_config # pg_config is a separate output in nixpkgs 25.05+ / unstable 33 34 - libffi 34 35 - openjpeg 35 36 - pango ··· 140 141 # ----------------------------------------------------------------- 141 142 # psycopg_c build fix 142 143 # 143 - # pip's PEP 517 build-isolation spawns an isolated subprocess with 144 - # its own PATH overlay (/tmp/pip-build-env-*/overlay/…) that 145 - # shadows /usr/bin, /usr/local/bin, and any PATH we export here. 146 - # The metadata-generation phase calls `pg_config` as a bare command 147 - # via subprocess.run(["pg_config", ...]) using the ambient PATH — 148 - # NOT the PG_CONFIG env var — so symlinks and exports alone fail. 144 + # In nixpkgs 25.05+ / unstable, pg_config was split into a separate 145 + # output (postgresql_15.pg_config). We list it explicitly in the 146 + # dependencies so it's on PATH automatically via the Nix profile. 149 147 # 150 - # Fix: use --no-build-isolation for psycopg[c] so the build runs 151 - # directly in our environment where pg_config is on PATH and 152 - # PG_CONFIG is exported. We pre-install the build deps (setuptools, 153 - # wheel) so the non-isolated build succeeds. 148 + # We still use --no-build-isolation for psycopg[c] because pip's 149 + # PEP 517 build-isolation spawns an isolated subprocess with its 150 + # own PATH overlay that can shadow the profile PATH. Building 151 + # without isolation ensures our env vars (PG_CONFIG, PATH, 152 + # LDFLAGS, CPPFLAGS) are visible to the build backend. 154 153 # ----------------------------------------------------------------- 155 154 echo "=== Locating pg_config ===" 156 155 157 156 PG_CONFIG_BIN="" 158 157 159 - # Try 1: already on PATH 158 + # Try 1: already on PATH (expected — postgresql_15.pg_config is in dependencies) 160 159 PG_CONFIG_BIN="$(command -v pg_config 2>/dev/null || true)" 161 160 162 161 # Try 2: common Nix profile locations