cm256cc: fix path in pkg-config file

main
Alexander Shpilkin 2 years ago committed by Artturin
parent 3bf5a3cecf
commit 6f1dd9a209
  1. 6
      pkgs/development/libraries/cm256cc/default.nix

@ -14,6 +14,12 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
buildInputs = [ boost ];
# https://github.com/f4exb/cm256cc/issues/16
postPatch = ''
substituteInPlace libcm256cc.pc.in \
--replace '$'{exec_prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@
'';
meta = with lib; {
description = "Fast GF(256) Cauchy MDS Block Erasure Codec in C++";
homepage = "https://github.com/f4exb/cm256cc";

Loading…
Cancel
Save