mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 12:59:04 +02:00
Merge pull request #123336 from kalekseev/fix/pipelinedb
postgresqlPackages.pipelinedb: fix darwin build
This commit is contained in:
commit
673aea9f84
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchFromGitHub, postgresql, zeromq, openssl }:
|
||||
{ lib, stdenv, fetchFromGitHub, postgresql, zeromq, openssl, libsodium, libkrb5 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pipelinedb";
|
||||
|
@ -11,10 +11,12 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1mnqpvx6g1r2n4kjrrx01vbdx7kvndfsbmm7zbzizjnjlyixz75f";
|
||||
};
|
||||
|
||||
buildInputs = [ postgresql openssl zeromq ];
|
||||
buildInputs = [ postgresql openssl zeromq libsodium libkrb5 ];
|
||||
|
||||
makeFlags = [ "USE_PGXS=1" ];
|
||||
|
||||
NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-lsodium";
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace Makefile \
|
||||
--replace "/usr/lib/libzmq.a" "${zeromq}/lib/libzmq.a"
|
||||
|
|
Loading…
Reference in a new issue