cwiid: link with libbluetooth explicitly

This commit is contained in:
Piotr Bogdan 2019-01-04 19:33:50 +00:00
parent e828ad6ad9
commit ef5baf894c

View file

@ -23,6 +23,10 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook pkgconfig ];
NIX_LDFLAGS = [
"-lbluetooth"
];
postInstall = ''
# Some programs (for example, cabal-install) have problems with the double 0
sed -i -e "s/0.6.00/0.6.0/" $out/lib/pkgconfig/cwiid.pc