File tree Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Original file line number Diff line number Diff line change 76
76
PGSODIUM_GETKEY = "${ getkey-script } /bin/pgsodium-getkey" ;
77
77
PGSQL_DEFAULT_PORT = pgPort ;
78
78
} ;
79
+ version = majorVersion ;
79
80
} ;
80
81
81
82
getVersionArg =
Original file line number Diff line number Diff line change 14
14
pkgs ,
15
15
name ,
16
16
extraSubstitutions ? { } ,
17
+ version ,
17
18
} :
18
19
let
19
- pgVersion =
20
- if name == psql_15 then
21
- "15"
22
- else if name == psql_17 then
23
- "17"
24
- else
25
- "unknown" ;
26
- version = builtins . trace "pgpkg.version is: ${ pgVersion } from ${ name } " pgVersion ;
27
-
28
20
paths =
29
21
{
30
22
migrationsDir = builtins . path {
73
65
} ;
74
66
}
75
67
// (
76
- if pgVersion == "15" || version == "15" then
68
+ if version == "15" then
77
69
{
78
70
pgHbaConfigFile = builtins . path {
79
71
name = "pg_hba.conf" ;
You can’t perform that action at this time.
0 commit comments