anchor.diff: -{ lib, stdenv, fetchurl, kernel, zlib }:
  +{ lib, stdenv, fetchurl, kernel, kmod, zlib }:
   
   let
     version = "3.1";
  
positive.code:     sha256 = "0qjw8glfdmngfvbn1w63q128vxdz2jlabw13y140ga9i5ibl6vvk";
    };
  
    buildInputs = [ zlib ];
  
    hardeningDisable = [ "pic" ];
  
    preConfigure = ''
      patchShebangs mkversion
      sed -i -e 's,^KERNDIR.*,KERNDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build,' \
  
negative.code:         -e s,/usr,$out, \
          -e /init.d/d \
          -e /depmod/d \
          -e s,/lib/systemd,$out/lib/systemd, \
          Makefile
  
      kmod=${kmod} substituteAllInPlace netatop.service
    '';
  
    preInstall = ''
      mkdir -p $out/lib/systemd/system $out/bin $out/sbin $out/share/man/man{4,8}
      mkdir -p $out/lib/modules/${kernel.modDirVersion}/extra
    '';
  
  