Skip to content

Commit 06c92f7

Browse files
committed
nix: build for pg 17
1 parent 51be9a8 commit 06c92f7

File tree

4 files changed

+581
-6
lines changed

4 files changed

+581
-6
lines changed

.github/workflows/ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
pg-version: ['12', '13', '14', '15', '16']
11+
pg-version: ['12', '13', '14', '15', '16', '17']
1212

1313
steps:
1414
- uses: actions/checkout@v4

nix/nxpg.nix

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
{ writeShellScriptBin, findutils, entr, callPackage, postgresql_16, postgresql_15, postgresql_14, postgresql_13, postgresql_12 } :
1+
{ writeShellScriptBin, findutils, entr, callPackage, postgresql_17, postgresql_16, postgresql_15, postgresql_14, postgresql_13, postgresql_12 } :
22
let
33
prefix = "nxpg";
44
supportedPgs = [
5+
postgresql_17
56
postgresql_16
67
postgresql_15
78
postgresql_14
@@ -68,7 +69,7 @@ let
6869
script = ''
6970
set -euo pipefail
7071
71-
export PATH=${patchedPg}/bin:"$PATH"
72+
export PATH=${patchedPg.dev}/bin:${patchedPg}/bin:"$PATH"
7273
7374
"$@"
7475
'';

0 commit comments

Comments
 (0)