Skip to content

Commit

Permalink
Merge pull request #414 from replit/vlinkz/postgres
Browse files Browse the repository at this point in the history
add basic postgresql module
  • Loading branch information
vlinkz authored Nov 18, 2024
2 parents fcfb59c + 309b522 commit 3a4886d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/modules/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ let
(import ./lua)
(import ./nix)
(import ./php)
(import ./postgresql)
(import ./qbasic)
(import ./R)
(import ./replit)
Expand Down
17 changes: 17 additions & 0 deletions pkgs/modules/postgresql/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{ pkgs, lib, ... }:
let
postgresql = pkgs.postgresql_16;
postgresql-version = lib.versions.major postgresql.version;
in
{
id = "postgresql-${postgresql-version}";
name = "Postgresql Tools";
displayVersion = postgresql-version;
description = ''
Tools for working with Postgresql databases.
'';

replit.packages = [
postgresql
];
}

0 comments on commit 3a4886d

Please sign in to comment.