diff --git a/pkgs/development/libraries/librdmacm/default.nix b/pkgs/development/libraries/librdmacm/default.nix index 2b8720357a1..791e59cbc90 100644 --- a/pkgs/development/libraries/librdmacm/default.nix +++ b/pkgs/development/libraries/librdmacm/default.nix @@ -1,7 +1,8 @@ { stdenv, fetchurl, libibverbs }: stdenv.mkDerivation rec { - name = "librdmacm-1.0.21"; + name = "librdmacm-${version}"; + version = "1.0.21"; src = fetchurl { url = "https://www.openfabrics.org/downloads/rdmacm/${name}.tar.gz"; @@ -10,6 +11,22 @@ stdenv.mkDerivation rec { buildInputs = [ libibverbs ]; + postInstall = '' + mkdir -p $out/lib/pkgconfig + cat >$out/lib/pkgconfig/rdmacm.pc <