Merge pull request #123336 from kalekseev/fix/pipelinedb

postgresqlPackages.pipelinedb: fix darwin build

authored by Robert Scott and committed by GitHub 673aea9f a8c37438

+4 -2
+4 -2
pkgs/servers/sql/postgresql/ext/pipelinedb.nix
··· 1 - { lib, stdenv, fetchFromGitHub, postgresql, zeromq, openssl }: 1 + { lib, stdenv, fetchFromGitHub, postgresql, zeromq, openssl, libsodium, libkrb5 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "pipelinedb"; ··· 11 11 sha256 = "1mnqpvx6g1r2n4kjrrx01vbdx7kvndfsbmm7zbzizjnjlyixz75f"; 12 12 }; 13 13 14 - buildInputs = [ postgresql openssl zeromq ]; 14 + buildInputs = [ postgresql openssl zeromq libsodium libkrb5 ]; 15 15 16 16 makeFlags = [ "USE_PGXS=1" ]; 17 + 18 + NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-lsodium"; 17 19 18 20 preConfigure = '' 19 21 substituteInPlace Makefile \