netdata: allow UI to load when running as non-root

This commit is contained in:
Kranium Gikos Mendoza
2016-10-25 22:56:15 +08:00
parent 8f457026ad
commit 237c15d883
2 changed files with 23 additions and 0 deletions
+3
View File
@@ -13,6 +13,9 @@ stdenv.mkDerivation rec{
buildInputs = [ autoreconfHook zlib pkgconfig libuuid ];
# Allow UI to load when running as non-root
patches = [ ./web_access.patch ];
preConfigure = ''
export ZLIB_CFLAGS=" "
export ZLIB_LIBS="-lz"