nix: Update nixpkgs to latest unstable version

This commit is contained in:
monacoremo
2021-11-01 23:23:19 +01:00
committed by Remo
parent a1b3bca7fc
commit 8ac14447ef
4 changed files with 32 additions and 17 deletions
+14 -12
View File
@@ -2,16 +2,18 @@ self: super:
# Overlay that adds future versions of PostgreSQL that are supported by
# PostgREST.
{
postgresql_14 =
let
rev = "76b1e16c6659ccef7187ca69b287525fea133244";
tarballHash = "1vsahpcx80k2bgslspb0sa6j4bmhdx77sw6la455drqcrqhdqj6a";
pinnedPkgs =
builtins.fetchTarball {
url = "https://github.com/nixos/nixpkgs/archive/${rev}.tar.gz";
sha256 = tarballHash;
};
in
(import pinnedPkgs { }).pkgs.postgresql_14;
## Example for including a postgresql version from a specific nixpks commit:
##
# postgresql_14 =
# let
# rev = "76b1e16c6659ccef7187ca69b287525fea133244";
# tarballHash = "1vsahpcx80k2bgslspb0sa6j4bmhdx77sw6la455drqcrqhdqj6a";
#
# pinnedPkgs =
# builtins.fetchTarball {
# url = "https://github.com/nixos/nixpkgs/archive/${rev}.tar.gz";
# sha256 = tarballHash;
# };
# in
# (import pinnedPkgs { }).pkgs.postgresql_14;
}