anchor.diff:    buildInputs = [ makeWrapper ];
   
     unpackPhase = ''
  -    ${dpkg}/bin/dpkg-deb -x ${src} .
  +    ${dpkg}/bin/dpkg-deb -x "$src" .
     '';
   
  -  buildPhase = false;
  +  buildPhase = "";
   
     installPhase = ''
       sed -i "s|/opt|$out/opt|" usr/bin/vagrant
  
positive.code: in
  stdenv.mkDerivation rec {
    name = "vagrant-${version}";
  
    src =
      if stdenv.system == "x86_64-linux" then
  
negative.code:     ln -s ${curl.dev}/bin/curl-config opt/vagrant/embedded/bin
  
      # libarchive: bsdtar, bsdcpio
      rm opt/vagrant/embedded/lib/libarchive*
      ln -s ${libarchive}/lib/libarchive.so opt/vagrant/embedded/lib/libarchive.so
      rm opt/vagrant/embedded/bin/{bsdtar,bsdcpio}
      ln -s ${libarchive}/bin/bsdtar opt/vagrant/embedded/bin
      ln -s ${libarchive}/bin/bsdcpio opt/vagrant/embedded/bin
  