bwm_ng: clang fix

This commit is contained in:
Spencer Whitt
2015-05-15 11:58:20 -04:00
parent 7745dc5dcf
commit 3f6b56812c
+3
View File
@@ -10,6 +10,9 @@ stdenv.mkDerivation rec {
buildInputs = [ ncurses ]; 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; { meta = with stdenv.lib; {
description = "A small and simple console-based live network and disk io bandwidth monitor"; description = "A small and simple console-based live network and disk io bandwidth monitor";
homepage = "http://www.gropp.org/?id=projects&sub=bwm-ng"; homepage = "http://www.gropp.org/?id=projects&sub=bwm-ng";