Drop support for postgres 9.4
This commit is contained in:
committed by
Steve Chavez
parent
29858b8d0d
commit
719c4abba2
+2
-2
@@ -70,7 +70,7 @@ The PostgREST utilities available in `nix-shell` all have names that begin with
|
||||
[nix-shell]$ postgrest-<tab>
|
||||
postgrest-lint postgrest-test-spec-postgresql-11
|
||||
postgrest-style postgrest-test-spec-postgresql-12
|
||||
postgrest-style-check postgrest-test-spec-postgresql-9.4
|
||||
postgrest-style-check postgrest-test-spec-postgresql-13
|
||||
postgrest-test-spec postgrest-test-spec-postgresql-9.5
|
||||
postgrest-test-spec-all postgrest-test-spec-postgresql-9.6
|
||||
postgrest-test-spec-postgresql-10
|
||||
@@ -91,7 +91,7 @@ $ nix-shell --arg ioTests true
|
||||
postgrest-lint postgrest-test-spec-postgresql-10
|
||||
postgrest-style postgrest-test-spec-postgresql-11
|
||||
postgrest-style-check postgrest-test-spec-postgresql-12
|
||||
postgrest-test-io postgrest-test-spec-postgresql-9.4
|
||||
postgrest-test-io postgrest-test-spec-postgresql-13
|
||||
postgrest-test-spec postgrest-test-spec-postgresql-9.5
|
||||
postgrest-test-spec-all postgrest-test-spec-postgresql-9.6
|
||||
|
||||
|
||||
@@ -3,5 +3,4 @@
|
||||
ghr = import ./ghr;
|
||||
haskell-packages = import ./haskell-packages.nix;
|
||||
postgresql-default = import ./postgresql-default.nix;
|
||||
postgresql-legacy = import ./postgresql-legacy.nix;
|
||||
}
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
self: super:
|
||||
# Overlay that adds legacy versions of PostgreSQL that are supported by
|
||||
# PostgREST.
|
||||
{
|
||||
# PostgreSQL 9.4 was removed from Nixpkgs with
|
||||
# https://github.com/NixOS/nixpkgs/commit/8e2fc57a80d761c46702c3250e61c1bffe021e25
|
||||
# We pin its parent commit 3b5b9a7 to get the last version that was available.
|
||||
postgresql_9_4 =
|
||||
let
|
||||
rev = "3b5b9a73f59ff93d50156e250203410bdd07f4e0";
|
||||
tarballHash = "0kr25xqbv1ldp72jbmml21pc5hl7xcfqhclv5qxa5f860jddjznk";
|
||||
|
||||
pinnedPkgs =
|
||||
builtins.fetchTarball {
|
||||
url = "https://github.com/nixos/nixpkgs/archive/${rev}.tar.gz";
|
||||
sha256 = tarballHash;
|
||||
};
|
||||
in
|
||||
(import pinnedPkgs { }).pkgs.postgresql_9_4;
|
||||
}
|
||||
Reference in New Issue
Block a user