Skip to content

Commit

Permalink
libmatroska: fix paths in pkg-config file
Browse files Browse the repository at this point in the history
  • Loading branch information
alexshpilkin committed May 9, 2022
1 parent d7923ae commit 45e0d3c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/development/libraries/libmatroska/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ stdenv.mkDerivation rec {
"-DCMAKE_INSTALL_PREFIX="
];

# https://github.com/Matroska-Org/libmatroska/issues/62
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace '\$\{prefix\}/$'{CMAKE_INSTALL_LIBDIR} '$'{CMAKE_INSTALL_FULL_LIBDIR} \
--replace '\$\{prefix\}/$'{CMAKE_INSTALL_INCLUDEDIR} '$'{CMAKE_INSTALL_FULL_INCLUDEDIR}
'';

meta = with lib; {
description = "A library to parse Matroska files";
homepage = "https://matroska.org/";
Expand Down

0 comments on commit 45e0d3c

Please sign in to comment.