Skip to content

Commit 25b0efe

Browse files
brainrakeclaude
andcommitted
fix(nix): build cgal against icu75 boost in postgis
sfcgal used the icu75 boost but its cgal dependency still pulled the default boost, which links icu 76.1. Override both so the env carries a single ICU. Refs: MPG-1325 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
1 parent 95d4bb0 commit 25b0efe

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎nix/ext/postgis.nix‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,17 @@
2222
coreutils,
2323
sfcgal,
2424
boost,
25+
cgal,
2526
icu75,
2627
latestOnly ? false,
2728
}:
2829

2930
let
30-
sfcgalIcu75 = sfcgal.override { boost = boost.override { icu = icu75; }; };
31+
boostIcu75 = boost.override { icu = icu75; };
32+
sfcgalIcu75 = sfcgal.override {
33+
boost = boostIcu75;
34+
cgal = cgal.override { boost = boostIcu75; };
35+
};
3136
gdal = callPackage ./gdal.nix { inherit postgresql; };
3237
pname = "postgis";
3338

0 commit comments

Comments
 (0)