netdata: Disable files in /etc and /var
This commit is contained in:
committed by
Mario Rodas
parent
49ac683e70
commit
d417ca7ba9
@@ -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 = ''
|
||||
|
||||
Reference in New Issue
Block a user