Merge pull request #31768 from andir/fix-vagrant-vbox52

vagrant: 2.0.0 -> 2.0.1 (fixes vagrant with virtualbox 5.2)

authored by Graham Christensen and committed by GitHub 5af8c930 d7aefea2

+5 -11
+5 -11
pkgs/development/tools/vagrant/default.nix
··· 1 - { stdenv, fetchurl, fetchpatch, dpkg, curl, libarchive, openssl, ruby, buildRubyGem, libiconv 2 , libxml2, libxslt, libffi, makeWrapper, p7zip, xar, gzip, cpio }: 3 4 let 5 - version = "2.0.0"; 6 - rake = buildRubyGem { 7 - inherit ruby; 8 - gemName = "rake"; 9 - version = "10.4.2"; 10 - sha256 = "1rn03rqlf1iv6n87a78hkda2yqparhhaivfjpizblmxvlw2hk5r8"; 11 - }; 12 13 url = if stdenv.isLinux 14 then "https://releases.hashicorp.com/vagrant/${version}/vagrant_${version}_${arch}.deb" ··· 17 else "system ${stdenv.system} not supported"; 18 19 sha256 = { 20 - "x86_64-linux" = "184amybyxqlxqr8fk6lyx2znmci1fazsiby90q7d1xx2ihz3hm5x"; 21 - "i686-linux" = "19r1m5jila40x69m1qz2hslz7v1hdg8wwdhcq8d5qjnzwfmlw2qz"; 22 - "x86_64-darwin" = "154400iqs01235bclr8ic7g9jv01lfs766bmv7p8784r3xsblvsr"; 23 }."${stdenv.system}" or (throw "system ${stdenv.system} not supported"); 24 25 arch = builtins.replaceStrings ["-linux" "-darwin"] ["" ""] stdenv.system;
··· 1 + { stdenv, fetchurl, fetchpatch, dpkg, curl, libarchive, openssl, rake, ruby, buildRubyGem, libiconv 2 , libxml2, libxslt, libffi, makeWrapper, p7zip, xar, gzip, cpio }: 3 4 let 5 + version = "2.0.1"; 6 7 url = if stdenv.isLinux 8 then "https://releases.hashicorp.com/vagrant/${version}/vagrant_${version}_${arch}.deb" ··· 11 else "system ${stdenv.system} not supported"; 12 13 sha256 = { 14 + "x86_64-linux" = "0kyqchjsy747vbvhqiynz81kik8g0xqpkv70rz7hyr9x7fl9i51g"; 15 + "i686-linux" = "0p3xhxy6shkd0393wjyj8qycdn3zqv60vnyz1b6zclz0kfah07zs"; 16 + "x86_64-darwin" = "01hr5j9k31hsdlcwv3srzk0lphd8w0n9z95jvfkschdyjm9clpwm"; 17 }."${stdenv.system}" or (throw "system ${stdenv.system} not supported"); 18 19 arch = builtins.replaceStrings ["-linux" "-darwin"] ["" ""] stdenv.system;