3
0
Fork 0
forked from mirrors/nixpkgs

vnstat: add image output (gd) support

This commit is contained in:
Tobias Geerinckx-Rice 2015-12-23 20:29:57 +01:00
parent b8a7875d64
commit 9ecc0612f9

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, ncurses }:
{ stdenv, fetchurl, gd, ncurses }:
let version = "1.15"; in
stdenv.mkDerivation rec {
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
url = "http://humdi.net/vnstat/${name}.tar.gz";
};
buildInputs = [ ncurses ];
buildInputs = [ gd ncurses ];
postPatch = ''
substituteInPlace src/cfg.c --replace /usr/local $out