anchor.diff:      mkdir -p "$out"
       cp -r opt "$out"
       cp -r usr/bin "$out"
  -    wrapProgram $out/bin/vagrant --prefix LD_LIBRARY_PATH : $out/opt/vagrant/embedded/lib
  +    wrapProgram "$out/bin/vagrant" --prefix LD_LIBRARY_PATH : "$out/opt/vagrant/embedded/lib"
     '';
   
     preFixup = ''
       # 'hide' the template file from shebang-patching
  -    chmod -x $out/opt/vagrant/embedded/gems/gems/bundler-1.12.5/lib/bundler/templates/Executable
  -    chmod -x $out/opt/vagrant/embedded/gems/gems/vagrant-${version}/plugins/provisioners/salt/bootstrap-salt.sh
  +    chmod -x "$out/opt/vagrant/embedded/gems/gems/bundler-1.12.5/lib/bundler/templates/Executable"
  +    chmod -x "$out/opt/vagrant/embedded/gems/gems/vagrant-$version/plugins/provisioners/salt/bootstrap-salt.sh"
     '';
   
     postFixup = ''
  -    chmod +x $out/opt/vagrant/embedded/gems/gems/bundler-1.12.5/lib/bundler/templates/Executable
  -    chmod +x $out/opt/vagrant/embedded/gems/gems/vagrant-${version}/plugins/provisioners/salt/bootstrap-salt.sh
  +    chmod +x "$out/opt/vagrant/embedded/gems/gems/bundler-1.12.5/lib/bundler/templates/Executable"
  +    chmod +x "$out/opt/vagrant/embedded/gems/gems/vagrant-$version/plugins/provisioners/salt/bootstrap-salt.sh"
     '';
   }
  
positive.code:   buildInputs = [ makeWrapper ];
  
    unpackPhase = ''
      ${dpkg}/bin/dpkg-deb -x ${src} .
    '';
  
    buildPhase = false;
  
    installPhase = ''
      sed -i "s|/opt|$out/opt|" usr/bin/vagrant
  
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
  