We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5959e9d commit a3c2c21Copy full SHA for a3c2c21
nix/ext/pg_cron.nix
@@ -21,6 +21,9 @@ let
21
};
22
23
24
+ # Simple version string that concatenates all versions with dashes
25
+ versionString = "multi-" + lib.concatStringsSep "-" (map (v: lib.replaceStrings ["."] ["-"] v) (lib.attrNames allVersions));
26
+
27
mkPgCron = pgCronVersion: { rev, hash, patches ? [] }: stdenv.mkDerivation {
28
pname = "pg_cron";
29
version = "${pgCronVersion}-pg${lib.versions.major postgresql.version}";
@@ -71,7 +74,7 @@ let
71
74
in
72
75
stdenv.mkDerivation {
73
76
pname = "pg_cron-all";
- version = "multi-001"; #increment this if you change this package in any way
77
+ version = versionString;
78
79
buildInputs = lib.attrValues allVersionsForPg;
80
0 commit comments