diff options
author | Alexander Shpilkin <ashpilkin@gmail.com> | 2022-05-16 11:16:34 +0300 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2022-09-07 21:44:36 +0300 |
commit | 6f1dd9a2094588b518fdb455f062e48bc4b2e499 (patch) | |
tree | 7318e3a8396c8e461e8145410dec9d25dd63ddf0 /pkgs/development/libraries/cm256cc | |
parent | 3bf5a3cecfe22d1a26662edad3e235a7cb2550e2 (diff) |
cm256cc: fix path in pkg-config file
Diffstat (limited to 'pkgs/development/libraries/cm256cc')
-rw-r--r-- | pkgs/development/libraries/cm256cc/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/libraries/cm256cc/default.nix b/pkgs/development/libraries/cm256cc/default.nix index 09b0ffba98ba6..3a2538898cce2 100644 --- a/pkgs/development/libraries/cm256cc/default.nix +++ b/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"; |