git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #36283 from aneeshusa/fix-vagrant-2.0.2

Fix vagrant 2.0.2

commit1bc5bf4beb759e563ffc7a8a3067f10a00b45a7d authorzimbatm <zimbatm@zimbatm.com> dateMon 5 Mar 2018, 18:03 (9 years ago) parent8bcdb3989d0307
4 files changed+32−27
pkgs/development/ruby-modules/gem/default.nix−4 pkgs/development/tools/vagrant/Gemfile.lock+9−9 pkgs/development/tools/vagrant/default.nix+10−1 pkgs/development/tools/vagrant/gemset.nix+13−13
pkgs/development/ruby-modules/gem/default.nix−4
@@ -36,7 +36,6 @@ lib.makeOverridable (
3636 rubyName = builtins.parseDrvName ruby.name;
3737 in "${rubyName.name}${rubyName.version}-")
3838, buildInputs ? []
39−, doCheck ? false
4039, meta ? {}
4140, patches ? []
4241, gemPath ? []
@@ -79,7 +78,6 @@ in
7978
8079stdenv.mkDerivation ((builtins.removeAttrs attrs ["source"]) // {
8180 inherit ruby;
82− inherit doCheck;
8381 inherit dontBuild;
8482 inherit dontStrip;
8583 inherit type;
@@ -96,8 +94,6 @@ stdenv.mkDerivation ((builtins.removeAttrs attrs ["source"]) // {
9694
9795 inherit src;
9896
99− phases = attrs.phases or [ "unpackPhase" "patchPhase" "buildPhase" "installPhase" "fixupPhase" ];
100−
10197 unpackPhase = attrs.unpackPhase or ''
10298 runHook preUnpack
10399
pkgs/development/tools/vagrant/Gemfile.lock+9−9
@@ -11,16 +11,16 @@ GIT
1111PATH
1212 remote: .
1313 specs:
14− vagrant (2.0.1)
14+ vagrant (2.0.2)
1515 childprocess (~> 0.6.0)
1616 erubis (~> 2.7.0)
17− hashicorp-checkpoint (~> 0.1.1)
17+ hashicorp-checkpoint (~> 0.1.5)
1818 i18n (>= 0.6.0, <= 0.8.0)
1919 listen (~> 3.1.5)
2020 log4r (~> 1.1.9, < 1.1.11)
2121 net-scp (~> 1.2.0)
2222 net-sftp (~> 2.1)
23− net-ssh (~> 4.1.0)
23+ net-ssh (~> 4.2.0)
2424 rb-kqueue (~> 0.2.0)
2525 rest-client (>= 1.6.0, < 3.0)
2626 ruby_dep (<= 1.3.1)
@@ -50,7 +50,7 @@ GEM
5050 gyoku (1.3.1)
5151 builder (>= 2.1.2)
5252 hashdiff (0.3.7)
53− hashicorp-checkpoint (0.1.4)
53+ hashicorp-checkpoint (0.1.5)
5454 http-cookie (1.0.3)
5555 domain_name (~> 0.5)
5656 httpclient (2.8.3)
@@ -67,17 +67,17 @@ GEM
6767 mime-types (3.1)
6868 mime-types-data (~> 3.2015)
6969 mime-types-data (3.2016.0521)
70− multi_json (1.12.2)
70+ multi_json (1.13.1)
7171 net-scp (1.2.1)
7272 net-ssh (>= 2.6.5)
7373 net-sftp (2.1.2)
7474 net-ssh (>= 2.6.5)
75− net-ssh (4.1.0)
75+ net-ssh (4.2.0)
7676 netrc (0.11.0)
7777 nori (2.6.0)
7878 public_suffix (3.0.1)
7979 rake (12.0.0)
80− rb-fsevent (0.10.2)
80+ rb-fsevent (0.10.3)
8181 rb-inotify (0.9.10)
8282 ffi (>= 0.5.0, < 2)
8383 rb-kqueue (0.2.5)
@@ -109,7 +109,7 @@ GEM
109109 thor (0.18.1)
110110 unf (0.1.4)
111111 unf_ext
112− unf_ext (0.0.7.4)
112+ unf_ext (0.0.7.5)
113113 wdm (0.1.1)
114114 webmock (2.3.2)
115115 addressable (>= 2.3.6)
@@ -127,7 +127,7 @@ GEM
127127 winrm-elevated (1.1.0)
128128 winrm (~> 2.0)
129129 winrm-fs (~> 1.0)
130− winrm-fs (1.1.1)
130+ winrm-fs (1.2.0)
131131 erubis (~> 2.7)
132132 logging (>= 1.6.1, < 3.0)
133133 rubyzip (~> 1.1)
pkgs/development/tools/vagrant/default.nix+10−1
@@ -28,7 +28,7 @@ in buildRubyGem rec {
2828 gemName = "vagrant";
2929 inherit version;
3030
31− doCheck = true;
31+ doInstallCheck = true;
3232 dontBuild = false;
3333 src = fetchurl { inherit url sha256; };
3434
@@ -44,6 +44,15 @@ in buildRubyGem rec {
4444 --prefix PATH ':' "${lib.getBin libarchive}/bin"
4545 '';
4646
47+ installCheckPhase = ''
48+ if [[ "$("$out/bin/vagrant" --version)" == "Vagrant ${version}" ]]; then
49+ echo 'Vagrant smoke check passed'
50+ else
51+ echo 'Vagrant smoke check failed'
52+ return 1
53+ fi
54+ '';
55+
4756 passthru = {
4857 inherit ruby deps;
4958 };
pkgs/development/tools/vagrant/gemset.nix+13−13
@@ -104,10 +104,10 @@
104104 hashicorp-checkpoint = {
105105 source = {
106106 remotes = ["https://rubygems.org"];
107− sha256 = "15shgckjnxqpz1n9z6y4ax1dcnn5vdqcva29gdg2l7ny0g1w7c7m";
107+ sha256 = "1z6mwzvd7p2wqhmk07dwrhvm0ncgqm7pxn0pr2k025rwsspp9bsd";
108108 type = "gem";
109109 };
110− version = "0.1.4";
110+ version = "0.1.5";
111111 };
112112 http-cookie = {
113113 dependencies = ["domain_name"];
@@ -188,10 +188,10 @@
188188 multi_json = {
189189 source = {
190190 remotes = ["https://rubygems.org"];
191− sha256 = "1raim9ddjh672m32psaa9niw67ywzjbxbdb8iijx3wv9k5b0pk2x";
191+ sha256 = "1rl0qy4inf1mp8mybfk56dfga0mvx97zwpmq5xmiwl5r770171nv";
192192 type = "gem";
193193 };
194− version = "1.12.2";
194+ version = "1.13.1";
195195 };
196196 net-scp = {
197197 dependencies = ["net-ssh"];
@@ -214,10 +214,10 @@
214214 net-ssh = {
215215 source = {
216216 remotes = ["https://rubygems.org"];
217− sha256 = "013p5jb4wy0cq7x7036piw2a3s1i9p752ki1srx2m289mpz4ml3q";
217+ sha256 = "07c4v97zl1daabmri9zlbzs6yvkl56z1q14bw74d53jdj0c17nhx";
218218 type = "gem";
219219 };
220− version = "4.1.0";
220+ version = "4.2.0";
221221 };
222222 netrc = {
223223 source = {
@@ -254,10 +254,10 @@
254254 rb-fsevent = {
255255 source = {
256256 remotes = ["https://rubygems.org"];
257− sha256 = "1fbpmjypwxkb8r7y1kmhmyp6gawa4byw0yb3jc3dn9ly4ld9lizf";
257+ sha256 = "1lm1k7wpz69jx7jrc92w3ggczkjyjbfziq5mg62vjnxmzs383xx8";
258258 type = "gem";
259259 };
260− version = "0.10.2";
260+ version = "0.10.3";
261261 };
262262 rb-inotify = {
263263 dependencies = ["ffi"];
@@ -391,10 +391,10 @@
391391 unf_ext = {
392392 source = {
393393 remotes = ["https://rubygems.org"];
394− sha256 = "14hr2dzqh33kqc0xchs8l05pf3kjcayvad4z1ip5rdjxrkfk8glb";
394+ sha256 = "06p1i6qhy34bpb8q8ms88y6f2kz86azwm098yvcc0nyqk9y729j1";
395395 type = "gem";
396396 };
397− version = "0.0.7.4";
397+ version = "0.0.7.5";
398398 };
399399 vagrant = {
400400 dependencies = ["childprocess" "erubis" "hashicorp-checkpoint" "i18n" "listen" "log4r" "net-scp" "net-sftp" "net-ssh" "rb-kqueue" "rest-client" "ruby_dep" "wdm" "winrm" "winrm-elevated" "winrm-fs"];
@@ -404,7 +404,7 @@
404404 source = {
405405 fetchSubmodules = false;
406406 rev = "7ac8b4191de578e345b29acaf62ecc72c8e73be1";
407− sha256 = "03bpxlliyiny062p8a8vxyb1hymxpgfwliky4vlqn7lbm6z7n6kr";
407+ sha256 = "0qybgxdnndx7xfmhyjcj46b2mv78d98yk30d68ppmfnmm3jx590h";
408408 type = "git";
409409 url = "https://github.com/mitchellh/vagrant-spec.git";
410410 };
@@ -449,9 +449,9 @@
449449 dependencies = ["erubis" "logging" "rubyzip" "winrm"];
450450 source = {
451451 remotes = ["https://rubygems.org"];
452− sha256 = "0vax34qbr3n6jifxyzr4nngaz8vrmzw6ydw21cnnrhidfkqgh7ja";
452+ sha256 = "1i3w2j2rmhjqj8lynca2m1dm1m5fv1x35xwhk3vyr15dn260z56g";
453453 type = "gem";
454454 };
455− version = "1.1.1";
455+ version = "1.2.0";
456456 };
457457}