mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 17:53:14 +00:00
netdata: fix v1 dashboard installation
Co-authored-by: Izorkin Change-Id: I5a379c8622323d7db4fe01f462627d941687ce22 Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
parent
eb5855eb3c
commit
a3beb09a70
@ -113,6 +113,10 @@ stdenv.mkDerivation rec {
|
||||
mv $out/libexec/netdata/plugins.d/network-viewer.plugin \
|
||||
$out/libexec/netdata/plugins.d/network-viewer.plugin.org
|
||||
''}
|
||||
${lib.optionalString (!withCloudUi) ''
|
||||
rm -rf $out/share/netdata/web/index.html
|
||||
cp $out/share/netdata/web/v1/index.html $out/share/netdata/web/index.html
|
||||
''}
|
||||
'';
|
||||
|
||||
preConfigure = lib.optionalString (!stdenv.isDarwin) ''
|
||||
|
Loading…
Reference in New Issue
Block a user