postgresqlPackages.citus: fix build on darwin
The build on darwin was broken for v16 and v17 only. This was fixed upstream a while ago, but somehow the fix has not been released, yet.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{
|
||||
curl,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
lib,
|
||||
lz4,
|
||||
postgresql,
|
||||
@@ -19,6 +20,16 @@ postgresqlBuildExtension rec {
|
||||
hash = "sha256-SuJs6OCHKO7efQagsATgn/V9rgMyuXQIHGCEP9ME7tQ=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Even though this commit is on main since Sep 2023, it hasn't made its way to the release-13.0 branch, yet.
|
||||
# https://github.com/citusdata/citus/pull/7221
|
||||
# Fixes build for PG 16 + 17 on darwin
|
||||
(fetchpatch {
|
||||
url = "https://github.com/citusdata/citus/commit/0f28a69f12418d211ffba5f7ddd222fd0c47daeb.patch";
|
||||
hash = "sha256-8JAM+PUswzbdlAZUpRApgO0eBsMbUHFdFGsdATsG88I=";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
curl
|
||||
lz4
|
||||
|
||||
Reference in New Issue
Block a user