anchor.diff:      platforms = platforms.unix;
       maintainers = [ maintainers.lethalman ];
     };
  -
   }
  
positive.code: let
    go-d-plugin = callPackage ./go.d.plugin.nix {};
  in stdenv.mkDerivation rec {
    version = "1.23.2";
    pname = "netdata";
  
    src = fetchFromGitHub {
      owner = "netdata";
      repo = "netdata";
      rev = "v${version}";
      sha256 = "1vv92plk9dxk6fl76ik1zralpzc35ymrfyrf1cr6pv8q3agyy5k4";
    };
  
    nativeBuildInputs = [ autoreconfHook pkgconfig ];
  
negative.code: 
    patches = [
      ./no-files-in-etc-and-var.patch
    ];
  
    NIX_CFLAGS_COMPILE = optionalString withDebug "-O1 -ggdb -DNETDATA_INTERNAL_CHECKS=1";
  