Skip to content

Commit

Permalink
miniz: fixup paths in .pc file
Browse files Browse the repository at this point in the history
  • Loading branch information
vcunat committed Sep 28, 2022
1 parent 9db13aa commit 7e40546
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/development/libraries/miniz/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ stdenv.mkDerivation rec {

nativeBuildInputs = [ cmake ];

postFixup = ''
substituteInPlace "$out"/share/pkgconfig/miniz.pc \
--replace '=''${prefix}//' '=/' \
--replace '=''${exec_prefix}//' '=/'
'';

meta = with lib; {
description = "Single C source file zlib-replacement library";
homepage = "https://github.com/richgel999/miniz";
Expand Down

0 comments on commit 7e40546

Please sign in to comment.