Skip to content

Commit

Permalink
feat: make sure to source debug and src from our build (#1246)
Browse files Browse the repository at this point in the history
Co-authored-by: Sam Rose <samuel@supabase.io>
  • Loading branch information
samrose and Sam Rose authored Oct 2, 2024
1 parent 074a2ec commit bc7155d
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
(import ./nix/overlays/cargo-pgrx-0-11-3.nix)
];
};
postgresql_15 = pkgs.postgresql.postgresql_15;
sfcgal = pkgs.callPackage ./nix/ext/sfcgal/sfcgal.nix { };
supabase-groonga = pkgs.callPackage ./nix/supabase-groonga.nix { };
mecab-naist-jdic = pkgs.callPackage ./nix/ext/mecab-naist-jdic/default.nix { };
Expand Down Expand Up @@ -305,7 +304,7 @@
pkgs.callPackage ./nix/ext/pg_regress.nix {
postgresql = postgresqlPackage;
};

postgresql_15 = getPostgresqlPackage "15";
in
postgresVersions //{
supabase-groonga = supabase-groonga;
Expand All @@ -314,13 +313,13 @@
#psql_orioledb_16 = makeOrioleDbPostgres "16_23" postgresql_orioledb_16;
sfcgal = sfcgal;
pg_prove = pkgs.perlPackages.TAPParserSourceHandlerpgTAP;
postgresql_15 = pkgs.postgresql_15;

inherit postgresql_15;
postgresql_15_debug = if pkgs.stdenv.isLinux then postgresql_15.debug else null;
postgresql_15_src = pkgs.stdenv.mkDerivation {
pname = "postgresql-15-src";
version = pkgs.postgresql_15.version;
version = postgresql_15.version;

src = pkgs.postgresql_15.src;
src = postgresql_15.src;

nativeBuildInputs = [ pkgs.bzip2 ];

Expand Down

0 comments on commit bc7155d

Please sign in to comment.