fix(users/Profpatsch/whatcd-resolver): pin to postgres 14

I haven’t thought about how to migrate this when the postgres version
changes, so for now we just pin to 14 and worry about it when we reach
EOL lol

Change-Id: Ib72ec7835c660db636a95fb5af8c9ce40897b1ce
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11085
Tested-by: BuildkiteCI
Autosubmit: Profpatsch <mail@profpatsch.de>
Reviewed-by: Profpatsch <mail@profpatsch.de>
This commit is contained in:
Profpatsch 2024-03-03 13:52:14 +01:00 committed by clbot
parent c869f9627e
commit 7c2bdf84b9
2 changed files with 4 additions and 2 deletions

View file

@ -60,7 +60,7 @@ pkgs.mkShell {
pkgs.rustup
pkgs.pkg-config
pkgs.fuse
pkgs.postgresql
pkgs.postgresql_14
pkgs.nodejs
pkgs.ninja
];
@ -94,4 +94,5 @@ pkgs.mkShell {
depot.third_party.rust-crates.nom
]}"
];
}

View file

@ -56,7 +56,8 @@ depot.nix.writeExecline "whatcd-resolver-wrapped" { } [
"PATH"
"export"
"PATH"
"${pkgs.postgresql}/bin:$${PATH}"
# TODO: figure out how to automatically migrate to a new postgres version with tmp_postgres (dump?)
"${pkgs.postgresql_14}/bin:$${PATH}"
"export"
"WHATCD_RESOLVER_TOOLS"
(pkgs.linkFarm "whatcd-resolver-tools" [