Skip to content

Commit

Permalink
ci: fix MacOS CI
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-chavez committed Sep 29, 2023
1 parent cf7ee67 commit c0531e2
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,19 @@ let

postgresqlVersions =
[
{ name = "postgresql-16"; postgresql = pkgs.postgresql_16.withPackages (p: [ p.postgis p.pg_safeupdate ]); }
{
name = "postgresql-16";
postgresql = pkgs.postgresql_16.withPackages (p: [
p.postgis
(p.pg_safeupdate.overrideAttrs (old: {
installPhase = ''
mkdir -p $out/bin
cp safeupdate.dylib safeupdate.so || true
install -D safeupdate.so -t $out/lib
'';
}))
]);
}
{ name = "postgresql-15"; postgresql = pkgs.postgresql_15.withPackages (p: [ p.postgis p.pg_safeupdate ]); }
{ name = "postgresql-14"; postgresql = pkgs.postgresql_14.withPackages (p: [ p.postgis p.pg_safeupdate ]); }
{ name = "postgresql-13"; postgresql = pkgs.postgresql_13.withPackages (p: [ p.postgis p.pg_safeupdate ]); }
Expand Down

0 comments on commit c0531e2

Please sign in to comment.