Merge pull request #315746 from wegank/virtualpg-darwin

virtualpg: fix build on x86_64-darwin
This commit is contained in:
Nikolay Korotkiy
2024-05-30 16:24:21 +04:00
committed by GitHub
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, validatePkgConfig, postgresql, sqlite }:
{ lib, stdenv, fetchurl, validatePkgConfig, postgresql, sqlite, darwin }:
stdenv.mkDerivation rec {
pname = "virtualpg";
@@ -14,7 +14,8 @@ stdenv.mkDerivation rec {
postgresql # for pg_config
];
buildInputs = [ postgresql sqlite ];
buildInputs = [ postgresql sqlite ]
++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Kerberos ];
meta = with lib; {
description = "Loadable dynamic extension to both SQLite and SpatiaLite";