diff options
author | Alexander Shpilkin <ashpilkin@gmail.com> | 2022-05-19 17:17:04 +0300 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2022-09-07 21:49:33 +0300 |
commit | a2a8c38e1dcbb9cfc3ac693b8d839fa4c3f427c6 (patch) | |
tree | decd52238d246ed5e303aff1f90d9842516108cd /pkgs/development/libraries/xtensor | |
parent | 6a0a4f9456acda5819a35ae1bb0a1f39d00acf32 (diff) |
xtensor: fix path in pkg-config file
Diffstat (limited to 'pkgs/development/libraries/xtensor')
-rw-r--r-- | pkgs/development/libraries/xtensor/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/libraries/xtensor/default.nix b/pkgs/development/libraries/xtensor/default.nix index fe978998d6372..3503c6894efe9 100644 --- a/pkgs/development/libraries/xtensor/default.nix +++ b/pkgs/development/libraries/xtensor/default.nix @@ -26,6 +26,12 @@ stdenv.mkDerivation rec { checkInputs = [ gtest ]; checkTarget = "xtest"; + # https://github.com/xtensor-stack/xtensor/issues/2542 + postPatch = '' + substituteInPlace xtensor.pc.in \ + --replace '$'{prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@ + ''; + meta = with lib; { description = "Multi-dimensional arrays with broadcasting and lazy computing."; homepage = "https://github.com/xtensor-stack/xtensor"; |