libnats-c: fix path in pkg-config file
This commit is contained in:
parent
0fb6766ccb
commit
4c5e1c74ae
1 changed files with 6 additions and 0 deletions
|
@ -20,6 +20,12 @@ stdenv.mkDerivation rec {
|
|||
separateDebugInfo = true;
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
# https://github.com/nats-io/nats.c/issues/542
|
||||
postPatch = ''
|
||||
substituteInPlace src/libnats.pc.in \
|
||||
--replace '$'{prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "C API for the NATS messaging system";
|
||||
homepage = "https://github.com/nats-io/nats.c";
|
||||
|
|
Loading…
Reference in a new issue