anchor.diff: -{ lib, stdenv, callPackage, fetchFromGitHub, autoreconfHook, pkg-config
  +{ lib, stdenv, callPackage, fetchFromGitHub, autoreconfHook, pkg-config, makeWrapper
   , CoreFoundation, IOKit, libossp_uuid
   , nixosTests
   , curl, libcap, libuuid, lm_sensors, zlib
  
positive.code:   ];
  
    postFixup = ''
      rm -r $out/sbin
    '';
  
    passthru.tests.netdata = nixosTests.netdata;
  
negative.code:     fetchSubmodules = true;
    };
  
    nativeBuildInputs = [ autoreconfHook pkg-config makeWrapper ];
    buildInputs = [ curl.dev zlib.dev ]
      ++ optionals stdenv.isDarwin [ CoreFoundation IOKit libossp_uuid ]
      ++ optionals (!stdenv.isDarwin) [ libcap.dev libuuid.dev ]
  