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:
parent
c869f9627e
commit
7c2bdf84b9
2 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
]}"
|
||||
];
|
||||
|
||||
}
|
||||
|
|
|
@ -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" [
|
||||
|
|
Loading…
Reference in a new issue