anchor.diff:  
     preFixup = ''
       # 'hide' the template file from shebang-patching
  -    chmod -x $out/opt/vagrant/embedded/gems/gems/bundler-1.6.6/lib/bundler/templates/Executable
  -    chmod -x $out/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/plugins/provisioners/salt/bootstrap-salt.sh
  +    chmod -x $out/opt/vagrant/embedded/gems/gems/bundler-1.7.11/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.6.6/lib/bundler/templates/Executable
  -    chmod +x $out/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/plugins/provisioners/salt/bootstrap-salt.sh
  +    chmod +x $out/opt/vagrant/embedded/gems/gems/bundler-1.7.11/lib/bundler/templates/Executable
  +    chmod +x $out/opt/vagrant/embedded/gems/gems/vagrant-${version}/plugins/provisioners/salt/bootstrap-salt.sh
     '';
   }
  
positive.code:     if stdenv.system == "x86_64-linux" then
        fetchurl {
          url    = "https://dl.bintray.com/mitchellh/vagrant/vagrant_${version}_x86_64.deb";
          sha256 = "12m2mnpnfzqv2s4j58cnzg4h4i5nkk5nb4irsvmm3i9a0dnsziz2";
        }
      else
        fetchurl {
          url    = "https://dl.bintray.com/mitchellh/vagrant/vagrant_${version}_i686.deb";
          sha256 = "1d4w0ni6mkb378v6rd7b188fw38vi8qql7pkwzsykr6389krbkbq";
        };
  
    meta = with stdenv.lib; {
      description = "A tool for building complete development environments";
      homepage    = http://vagrantup.com;
      license     = licenses.mit;
      maintainers = with maintainers; [ lovek323 ];
      platforms   = platforms.linux;
    };
  
  
negative.code: assert stdenv.system == "x86_64-linux" || stdenv.system == "i686-linux";
  
  let
    version = "1.7.2";
    rake = buildRubyGem {
      inherit ruby;
      name = "rake-10.3.2";
  