anchor.diff: -{ lib, stdenv, fetchurl, pkg-config, libseccomp, util-linux, qemu }:
  +{ lib, stdenv, fetchurl, dosfstools, libseccomp, makeWrapper, mtools, parted
  +, pkg-config, qemu, syslinux, util-linux }:
   
   let
     version = "0.6.9";
  
positive.code:   pname = "solo5";
    inherit version;
  
    nativeBuildInputs = [ pkg-config ];
    buildInputs = lib.optional (stdenv.hostPlatform.isLinux) libseccomp;
  
    src = fetchurl {
  
negative.code:       [ -n "$CONFIG_${lib.toUpper bind}" ] && make install-opam-${bind}
      '') targets}
  
      substituteInPlace $out/bin/solo5-virtio-mkimage \
        --replace "/usr/lib/syslinux" "${syslinux}/share/syslinux" \
        --replace "/usr/share/syslinux" "${syslinux}/share/syslinux" \
        --replace "cp " "cp --no-preserve=mode "
  
      wrapProgram $out/bin/solo5-virtio-mkimage \
        --prefix PATH : ${lib.makeBinPath [ dosfstools mtools parted syslinux ]}
  
      runHook postInstall
    '';
  
  