@@ -7,9 +7,12 @@ stdenv.mkDerivation rec {
77 url = "http://www.gropp.org/bwm-ng/${name}.tar.gz";
88 sha256 = "1pgzc8y2y73n72qvbd2g0dkbkw5h0f83k5h9id1rsck8w9c464y1";
99 };
10−
10+
1111 buildInputs = [ ncurses ];
1212
13+ # This code uses inline in the gnu89 sense: see http://clang.llvm.org/compatibility.html#inline
14+ NIX_CFLAGS_COMPILE = if stdenv.cc.isClang then "-std=gnu89" else null;
15+
1316 meta = with stdenv.lib; {
1417 description = "A small and simple console-based live network and disk io bandwidth monitor";
1518 homepage = "http://www.gropp.org/?id=projects&sub=bwm-ng";