Skip to content

Commit

Permalink
vagrant: 2.2.19 -> 2.3.4
Browse files Browse the repository at this point in the history
required for ruby 3.1 compatibility.

this version does not build on darwin; it fails with:

strip: error: symbols referenced by indirect symbol table entries that can't be stripped in:
/nix/store/kii5l64n3v0wml7iyqm1swzhgqljjky4-ruby3.1.4-grpc-1.54.0/lib/ruby/gems/3.1.0/gems/grpc-1.54.0/src/ruby/ext/grpc/grpc_c.bundle

three hand-edits to the regenerated gemset.nix were also required:

* fix the hashes for google-protobuf and gprc

* remove the 'vagrant' entry
  • Loading branch information
jerith666 committed Apr 29, 2023
1 parent 937a9d1 commit 1d69b01
Show file tree
Hide file tree
Showing 3 changed files with 311 additions and 49 deletions.
6 changes: 3 additions & 3 deletions pkgs/development/tools/vagrant/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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.2.19";
version = "2.3.4";
url = "https://github.com/hashicorp/vagrant/archive/v${version}.tar.gz";
sha256 = "sha256-Tw5rHUZuJt6taCxNSEPo9koBLrpL6RUGrmxtNNPZyPk=";
sha256 = "sha256-Q+sUYcbc/SOgw4ZXDmwqh24G0jiLvA8fDJyZ45OqLw8=";

deps = bundlerEnv rec {
name = "${pname}-${version}";
Expand Down Expand Up @@ -113,6 +113,6 @@ in buildRubyGem rec {
homepage = "https://www.vagrantup.com/";
license = licenses.mit;
maintainers = with maintainers; [ ];
platforms = with platforms; linux ++ darwin;
platforms = with platforms; linux;
};
}
Loading

0 comments on commit 1d69b01

Please sign in to comment.