Skip to content

Commit f0c49ee

Browse files
committed
chore: merge conflixts
1 parent 319b724 commit f0c49ee

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

flake.nix

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
# it also serves as a base for importing the orioldb/postgres overlay to
3030
#build the orioledb postgres patched version of postgresql16
3131
oriole_pkgs = import nixpkgs {
32+
config = { allowUnfree = true; };
3233
inherit system;
3334
overlays = [
3435
# NOTE (aseipp): add any needed overlays here. in theory we could
@@ -44,6 +45,7 @@
4445
#This variable works the same as 'oriole_pkgs' but builds using the upstream
4546
#nixpkgs builds of postgresql 15 and 16 + the overlays listed below
4647
pkgs = import nixpkgs {
48+
config = { allowUnfree = true; };
4749
inherit system;
4850
overlays = [
4951
# NOTE (aseipp): add any needed overlays here. in theory we could
@@ -57,6 +59,7 @@
5759
];
5860
};
5961

62+
sfcgal = pkgs.callPackage ./nix/ext/sfcgal/sfcgal.nix { };
6063

6164
# FIXME (aseipp): pg_prove is yet another perl program that needs
6265
# LOCALE_ARCHIVE set in non-NixOS environments. upstream this. once that's done, we
@@ -304,7 +307,8 @@
304307
'';
305308
in
306309
nix2img.buildImage {
307-
name = "nix-experimental-postgresql-${version}-${system}";
310+
#TODO (samrose) update this with the correct image name for supabase registry
311+
name = "samrose/nix-experimental-postgresql-${version}-${system}";
308312
tag = "latest";
309313

310314
nixUid = l.toInt uid;
@@ -398,7 +402,8 @@
398402
psql_15 = makePostgres "15";
399403
#psql_16 = makePostgres "16";
400404
#psql_orioledb_16 = makeOrioleDbPostgres "16_23" postgresql_orioledb_16;
401-
405+
pg_prove = pg_prove;
406+
sfcgal = sfcgal;
402407
# Start a version of the server.
403408
start-server =
404409
let
@@ -546,6 +551,11 @@
546551
nix-update
547552
pg_prove
548553
shellcheck
554+
ansible
555+
ansible-lint
556+
(packer.overrideAttrs (oldAttrs: {
557+
version = "1.7.8";
558+
}))
549559

550560
basePackages.start-server
551561
basePackages.start-client

0 commit comments

Comments
 (0)