Skip to content

Commit

Permalink
the-foundation: 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 9e8bf24 commit ad0a72f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/development/libraries/the-foundation/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ stdenv.mkDerivation rec {

buildInputs = [ curl libunistring openssl pcre zlib ];

postFixup = ''
substituteInPlace "$out"/lib/pkgconfig/the_Foundation.pc \
--replace '="''${prefix}//' '="/'
'';

meta = with lib; {
description = "Opinionated C11 library for low-level functionality";
homepage = "https://git.skyjake.fi/skyjake/the_Foundation";
Expand Down

0 comments on commit ad0a72f

Please sign in to comment.