netdata: Disable files in /etc and /var

This commit is contained in:
Jörg Thalheim
2018-11-16 11:24:27 -05:00
committed by Mario Rodas
parent 49ac683e70
commit d417ca7ba9
2 changed files with 90 additions and 4 deletions
+4 -4
View File
@@ -13,13 +13,13 @@ stdenv.mkDerivation rec{
buildInputs = [ zlib ]
++ (if stdenv.isDarwin then [ libossp_uuid CoreFoundation IOKit ] else [ libuuid ]);
# Build will fail trying to create /var/{cache,lib,log}/netdata without this
postPatch = ''
substituteInPlace Makefile.am --replace "installer/.keep" ""
'';
patches = [
./no-files-in-etc-and-var.patch
];
configureFlags = [
"--localstatedir=/var"
"--sysconfdir=/etc"
];
postFixup = ''