anchor.diff:          install -Dm755 hv_''${f}_daemon -t $out/bin
         done
   
  -      install -Dm755 hv_get_dns_info.sh lsvmbus -t $out/bin
  +      install -Dm755 lsvmbus             $out/bin/lsvmbus
  +      install -Dm755 hv_get_dhcp_info.sh $out/${libexec}/hv_get_dhcp_info
  +      install -Dm755 hv_get_dns_info.sh  $out/${libexec}/hv_get_dns_info
   
         # I don't know why this isn't being handled automatically by fixupPhase
         substituteInPlace $out/bin/lsvmbus \
  
positive.code: 
  in stdenv.mkDerivation {
    pname = "hyperv-daemons";
  
    inherit (kernel) version;
  
    # we just stick the bins into out as well as it requires "out"
    outputs = [ "bin" "lib" "out" ];
  
    phases = [ "installPhase" ];
  
    buildInputs = [ daemons ];
  
    installPhase = ''
      system=$lib/lib/systemd/system
  
      mkdir -p $system
  
      cp ${service "fcopy" "file copy (FCOPY)" "hv_fcopy" } $system/hv-fcopy.service
      cp ${service "kvp"   "key-value pair (KVP)"     ""  } $system/hv-kvp.service
      cp ${service "vss"   "volume shadow copy (VSS)" ""  } $system/hv-vss.service
  
      cat > $system/hyperv-daemons.target <<EOF
      [Unit]
  
negative.code:     # as of 4.9 compilation will fail due to -Werror=format-security
      hardeningDisable = [ "format" ];
  
      postPatch = ''
        cd tools/hv
        substituteInPlace hv_kvp_daemon.c \
          --replace /usr/libexec/hypervkvpd/ $out/${libexec}/
      '';
  
      # We don't actually need the hv_get_{dhcp,dns}_info scripts on NixOS in
      # their current incarnation but with them in place, we stop the spam of
      # errors in the log.
      installPhase = ''
        runHook preInstall
  
  