mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 09:14:28 +00:00
bwm_ng: clang fix
This commit is contained in:
parent
7745dc5dcf
commit
3f6b56812c
@ -7,9 +7,12 @@ stdenv.mkDerivation rec {
|
||||
url = "http://www.gropp.org/bwm-ng/${name}.tar.gz";
|
||||
sha256 = "1pgzc8y2y73n72qvbd2g0dkbkw5h0f83k5h9id1rsck8w9c464y1";
|
||||
};
|
||||
|
||||
|
||||
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";
|
||||
|
Loading…
Reference in New Issue
Block a user