Merge pull request #240996 from teutat3s/vagrant-2.3.7

vagrant: 2.3.4 -> 2.3.7, vagrant-libvirt-provider: 0.8.2 -> 0.12.2
This commit is contained in:
Peder Bergebakken Sundt 2023-12-02 14:27:21 +01:00 committed by GitHub
commit f1ddcbefd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 46 additions and 26 deletions

View File

@ -214,7 +214,7 @@ index edae9b477..782904f49 100644
cloud init command '%{cmd}' failed on guest '%{guest_name}'.
command_deprecated: |-
The command 'vagrant %{name}' has been deprecated and is no longer functional
@@ -1238,23 +1238,6 @@ en:
@@ -1245,30 +1245,6 @@ en:
following command:
vagrant plugin install --local
@ -225,12 +225,19 @@ index edae9b477..782904f49 100644
- again.
- plugin_missing_library: |-
- Vagrant failed to install the requested plugin because it depends
- on a library which is not currently installed on this system. The
- following library is required by the '%{name}' plugin:
- on development files for a library which is not currently installed
- on this system. The following library is required by the '%{name}'
- plugin:
-
- %{library}
-
- Please install the library and then run the command again.
- If a package manager is used on this system, please install the development
- package for the library. The name of the package will be similar to:
-
- %{library}-dev or %{library}-devel
-
- After the library and development files have been installed, please
- run the command again.
- plugin_missing_ruby_dev: |-
- Vagrant failed to install the requested plugin because the Ruby header
- files could not be found. Install the ruby development package for your

View File

@ -5,9 +5,9 @@
let
# NOTE: bumping the version and updating the hash is insufficient;
# you must use bundix to generate a new gemset.nix in the Vagrant source.
version = "2.3.4";
version = "2.3.7";
url = "https://github.com/hashicorp/vagrant/archive/v${version}.tar.gz";
sha256 = "sha256-Q+sUYcbc/SOgw4ZXDmwqh24G0jiLvA8fDJyZ45OqLw8=";
hash = "sha256-+oqWMZqnuf9fSpkbd8vzf1SVSdhHN2JLzr76jyAEv0U=";
deps = bundlerEnv rec {
name = "${pname}-${version}";
@ -21,7 +21,7 @@ let
vagrant = {
source = {
type = "url";
inherit url sha256;
inherit url hash;
};
inherit version;
};
@ -48,7 +48,7 @@ in buildRubyGem rec {
doInstallCheck = true;
dontBuild = false;
src = fetchurl { inherit url sha256; };
src = fetchurl { inherit url hash; };
patches = [
./unofficial-installation-nowarn.patch
@ -98,13 +98,6 @@ in buildRubyGem rec {
HOME="$(mktemp -d)" $out/bin/vagrant init --output - > /dev/null
'';
# `patchShebangsAuto` patches this one script which is intended to run
# on foreign systems.
postFixup = ''
sed -i -e '1c#!/bin/sh -' \
$out/lib/ruby/gems/*/gems/vagrant-*/plugins/provisioners/salt/bootstrap-salt.sh
'';
passthru = {
inherit ruby deps;
};

View File

@ -47,10 +47,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1s8b3bsajwjyrjs53h0nrfrpzzgi8igsrslprhr6fgl80ig3plld";
sha256 = "sha256-z0VkRqFk3JU02ULQ+xQbywekzrJgz1YPDul//Ov5ajU=";
type = "gem";
};
version = "0.9.0";
version = "0.11.0";
};
fog-xml = {
dependencies = ["fog-core" "nokogiri"];
@ -109,10 +109,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0rapl1sfmfi3bfr68da4ca16yhc0pp93vjwkj7y3rdqrzy3b41hy";
sha256 = "sha256-RrLSRMxv8BqJv2EnRpDAn9vcpHqErp6sOQOegSMa7nw=";
type = "gem";
};
version = "2.8.0";
version = "2.8.2";
};
multi_json = {
groups = ["default"];
@ -130,20 +130,20 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "11w59ga9324yx6339dgsflz3dsqq2mky1qqdwcg6wi5s1bf2yldi";
sha256 = "sha256-INyAC4++TE9LWxZOaqOrgqNxvLJ+toXBZpYcNN2KItc=";
type = "gem";
};
version = "1.13.6";
version = "1.15.2";
};
racc = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0la56m0z26j3mfn1a9lf2l03qx1xifanndf9p3vx1azf6sqy7v9d";
sha256 = "sha256-r2QSSDb908AOgwcD1/hz6l3qvekj83AGo59aXg2hY4c=";
type = "gem";
};
version = "1.6.0";
version = "1.7.1";
};
rexml = {
groups = ["default"];
@ -155,6 +155,26 @@
};
version = "3.2.5";
};
xml-simple = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "sha256-0hEx5RnIbxpbwrbS1X1G5pmOR/GO0kmyXK2GQz29aV0=";
type = "gem";
};
version = "1.1.9";
};
diffy = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "sha256-NrQv++UTjdxWGCEHwkrY1rBm7P0odoKfOR46SZPYmuE=";
type = "gem";
};
version = "3.4.2";
};
ruby-libvirt = {
groups = ["default"];
platforms = [];
@ -166,14 +186,14 @@
version = "0.8.0";
};
vagrant-libvirt = {
dependencies = ["fog-core" "fog-libvirt" "nokogiri" "rexml"];
dependencies = ["fog-core" "fog-libvirt" "nokogiri" "rexml" "xml-simple" "diffy"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1j31y6sjhslj5yr0ssvb36ngm7prfsbdfj6131757jl0l0ri8pyv";
sha256 = "sha256-NMiRjrVQo2Ui9nOJwpDmNJUk+95gsT85pwFMIiw3bwQ=";
type = "gem";
};
version = "0.8.2";
version = "0.12.2";
};
}