bwm_ng: clang fix

This commit is contained in:
Spencer Whitt 2015-05-14 17:49:02 -04:00
parent 7745dc5dcf
commit 3f6b56812c

View File

@ -10,6 +10,9 @@ stdenv.mkDerivation rec {
buildInputs = [ ncurses ];
# This code uses inline in the gnu89 sense: see http://clang.llvm.org/compatibility.html#inline
NIX_CFLAGS_COMPILE = if stdenv.cc.isClang then "-std=gnu89" else null;
meta = with stdenv.lib; {
description = "A small and simple console-based live network and disk io bandwidth monitor";
homepage = "http://www.gropp.org/?id=projects&sub=bwm-ng";