xsimd: fix path in pkg-config file

This commit is contained in:
Alexander Shpilkin 2022-05-19 16:48:12 +03:00 committed by Artturin
parent 9b66b717b7
commit 6a0a4f9456

View file

@ -25,6 +25,12 @@ stdenv.mkDerivation rec {
in
"-${builtins.concatStringsSep ":" filteredTests}";
# https://github.com/xtensor-stack/xsimd/issues/748
postPatch = ''
substituteInPlace xsimd.pc.in \
--replace '$'{prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@
'';
meta = with lib; {
description = "C++ wrappers for SIMD intrinsics";
homepage = "https://github.com/xtensor-stack/xsimd";