Skip to content

Commit

Permalink
rinutils: fix path in pkg-config file
Browse files Browse the repository at this point in the history
  • Loading branch information
alexshpilkin committed May 18, 2022
1 parent 6973a5a commit b377ca5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/development/libraries/rinutils/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,11 @@ stdenv.mkDerivation rec {
};

nativeBuildInputs = [ cmake perl ];

# https://github.com/shlomif/rinutils/issues/5
postPatch = ''
substituteInPlace librinutils.pc.in \
--replace '$'{exec_prefix}/@RINUTILS_INSTALL_MYLIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@ \
--replace '$'{prefix}/@CMAKE_INSTALL_INCLUDEDIR@ @CMAKE_INSTALL_FULL_INCLUDEDIR@
'';
}

0 comments on commit b377ca5

Please sign in to comment.