bmon: fix cross-compilation

$PKG_CONFIG must be an absolute path
This commit is contained in:
Ben Wolsieffer 2020-10-04 13:17:59 -04:00 committed by Bjørn Forsman
parent 74c405617f
commit 0c97fffb15

View file

@ -16,6 +16,11 @@ stdenv.mkDerivation rec {
buildInputs = [ ncurses libconfuse libnl ];
preConfigure = ''
# Must be an absolute path
export PKG_CONFIG="$(command -v "$PKG_CONFIG")"
'';
meta = with stdenv.lib; {
description = "Network bandwidth monitor";
homepage = "https://github.com/tgraf/bmon";