Skip to content

Commit

Permalink
libtoxcore: repair paths in pkg-config file
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmry committed Dec 23, 2019
1 parent 4d6e005 commit e298a63
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/development/libraries/libtoxcore/default.nix
Expand Up @@ -33,6 +33,12 @@ let
doCheck = false; # hangs, tries to access the net?
checkInputs = [ check ];

postFixup =''
sed -i $out/lib/pkgconfig/*.pc \
-e "s|^libdir=.*|libdir=$out/lib|" \
-e "s|^includedir=.*|includedir=$out/include|"
'';

meta = with stdenv.lib; {
description = "P2P FOSS instant messaging application aimed to replace Skype";
homepage = https://tox.chat;
Expand Down

0 comments on commit e298a63

Please sign in to comment.