Merge pull request #315746 from wegank/virtualpg-darwin
virtualpg: fix build on x86_64-darwin
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user