anchor.diff: -{ stdenv, lib, fetchFromGitHub, makeWrapper, perl, systemd, iw, rfkill, hdparm, ethtool, inetutils
  +{ stdenv, lib, fetchFromGitHub, perl, systemd, iw, rfkill, hdparm, ethtool, inetutils
   , kmod, pciutils, smartmontools, x86_energy_perf_policy, gawk, gnugrep, coreutils
   , enableRDW ? false, networkmanager
   }:
   
  -let version = "0.8";
  -in stdenv.mkDerivation {
  +let
  +  paths = lib.makeBinPath
  +          ([ iw rfkill hdparm ethtool inetutils systemd kmod pciutils smartmontools
  +             x86_energy_perf_policy gawk gnugrep coreutils
  +           ]
  +           ++ lib.optional enableRDW networkmanager
  +          );
  +
  +in stdenv.mkDerivation rec {
     name = "tlp-${version}";
  +  version = "0.8";
   
     src = fetchFromGitHub {
           owner = "linrunner";
  
positive.code:     done
    '' + lib.optionalString enableRDW ''
      for i in $out/etc/NetworkManager/dispatcher.d/*; do
        sed -i "s,/usr/lib/,$out/lib/,g" "$i"
        wrapProgram "$i" \
          --prefix PATH : "$paths"
      done
    '';
  
  
negative.code:                 "TLP_NO_PMUTILS=1"
                ];
  
    buildInputs = [ perl ];
  
    installTargets = [ "install-tlp" ] ++ stdenv.lib.optional enableRDW "install-rdw";
  
    postInstall = ''
      for i in $out/bin/* $out/lib/udev/tlp-*; do
        sed -i \
          -e "s,/usr/lib/,$out/lib/,g" \
          -e '2iexport PATH=${paths}:$PATH' \
          "$i"
      done
  
      for i in $out/lib/udev/rules.d/*; do
  