about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2024-03-03T12·52+0100
committerclbot <clbot@tvl.fyi>2024-03-03T13·30+0000
commit7c2bdf84b971d83767aface101504a95a6cc6738 (patch)
treef0abf7c8404e236c598027bcdfe455371e7deb17 /users
parentc869f9627e19aec255a6c527dcab550d4de5f8e1 (diff)
fix(users/Profpatsch/whatcd-resolver): pin to postgres 14 r/7637
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>
Diffstat (limited to 'users')
-rw-r--r--users/Profpatsch/shell.nix3
-rw-r--r--users/Profpatsch/whatcd-resolver/default.nix3
2 files changed, 4 insertions, 2 deletions
diff --git a/users/Profpatsch/shell.nix b/users/Profpatsch/shell.nix
index 1e36dbeda6d7..f749c2e3439a 100644
--- a/users/Profpatsch/shell.nix
+++ b/users/Profpatsch/shell.nix
@@ -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
     ]}"
     ];
+
 }
diff --git a/users/Profpatsch/whatcd-resolver/default.nix b/users/Profpatsch/whatcd-resolver/default.nix
index e2800f95c14c..17b6505c8777 100644
--- a/users/Profpatsch/whatcd-resolver/default.nix
+++ b/users/Profpatsch/whatcd-resolver/default.nix
@@ -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" [