bmon: fix cross-compilation
$PKG_CONFIG must be an absolute path
This commit is contained in:
parent
74c405617f
commit
0c97fffb15
@ -16,6 +16,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ ncurses libconfuse libnl ];
|
buildInputs = [ ncurses libconfuse libnl ];
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
# Must be an absolute path
|
||||||
|
export PKG_CONFIG="$(command -v "$PKG_CONFIG")"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Network bandwidth monitor";
|
description = "Network bandwidth monitor";
|
||||||
homepage = "https://github.com/tgraf/bmon";
|
homepage = "https://github.com/tgraf/bmon";
|
||||||
|
Loading…
Reference in New Issue
Block a user