Skip to content

Commit 98ccdbb

Browse files
committed
chore(nix): Upgrade postgresql@17
1 parent be77bba commit 98ccdbb

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

flake.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@
265265
# Database tests
266266
let
267267
postgresTest = {
268-
build-tools = [ pkgs.pkgsBuildHost.postgresql_14 ];
268+
build-tools = [ pkgs.pkgsBuildHost.postgresql_17 ];
269269
inherit preCheck;
270270
inherit postCheck;
271271
};
@@ -498,6 +498,7 @@
498498
};
499499

500500
legacyPackages = pkgs;
501+
legacyPackagesUpstream = nixpkgsUpstream;
501502

502503
packages = lib.optionalAttrs (system == "x86_64-linux") {
503504
inherit

nix/docker.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
, bashInteractive, cacert, cardano-cli, cardano-db-sync, cardano-db-tool
1111
, cardano-smash-server, coreutils, curl, findutils, getconf, glibcLocales
1212
, gnused, gnutar, gzip, jq, iana-etc, iproute, iputils, lib, libidn, libpqxx
13-
, postgresql_14, socat, utillinux
13+
, postgresql_17, socat, utillinux
1414
}:
1515

1616
let
@@ -46,7 +46,7 @@ let
4646
iputils # Useful utilities for Linux networking
4747
libidn # Library for internationalized domain names
4848
libpqxx # A C++ library to access PostgreSQL databases
49-
postgresql_14 # A powerful, open source object-relational database system
49+
postgresql_17 # A powerful, open source object-relational database system
5050
socat # Utility for bidirectional data transfer
5151
utillinux # System utilities for Linux
5252
cardano-cli # tool for interacting with cardano-node

nix/nixos/tests/services-basic-test.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ with pkgs;
4747
systemd.services.cardano-db-sync.serviceConfig.SupplementaryGroups = "cardano-node";
4848
services.postgresql = {
4949
enable = true;
50-
package = postgresql_14;
50+
package = postgresql_17;
5151
enableTCPIP = false;
5252
ensureDatabases = [ "${config.services.cardano-db-sync.postgres.database}" ];
5353
initialScript = builtins.toFile "enable-pgcrypto.sql" ''

0 commit comments

Comments
 (0)