Skip to content

Commit

Permalink
onnxruntime: fix paths in pkg-config file
Browse files Browse the repository at this point in the history
  • Loading branch information
ck3d committed Sep 27, 2022
1 parent 7ad22ae commit 0d873b3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/development/libraries/onnxruntime/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ stdenv.mkDerivation rec {
postPatch = ''
substituteInPlace cmake/external/abseil-cpp.cmake \
--replace "${abseil.url}" "${abseil}"
substituteInPlace cmake/libonnxruntime.pc.cmake.in \
--replace '$'{prefix}/@CMAKE_INSTALL_ @CMAKE_INSTALL_
'';

postInstall = ''
Expand Down

0 comments on commit 0d873b3

Please sign in to comment.