git.iko.soy/typeable/nixpkgs
on master help sign in
libtoxcore: repair paths in pkg-config file
commite298a63fdc1ecd6393a29c5dc5993f517df00791 authorEmery Hemingway <ehmry@posteo.net> dateMon 23 Dec 2019, 16:06 (7 years ago) parent4d6e005
1 file changed+6
pkgs/development/libraries/libtoxcore/default.nix+6
pkgs/development/libraries/libtoxcore/default.nix+6
@@ -33,6 +33,12 @@ let
3333 doCheck = false; # hangs, tries to access the net?
3434 checkInputs = [ check ];
3535
36+ postFixup =''
37+ sed -i $out/lib/pkgconfig/*.pc \
38+ -e "s|^libdir=.*|libdir=$out/lib|" \
39+ -e "s|^includedir=.*|includedir=$out/include|"
40+ '';
41+
3642 meta = with stdenv.lib; {
3743 description = "P2P FOSS instant messaging application aimed to replace Skype";
3844 homepage = https://tox.chat;