Commit 550de0a2 authored by Andrew Kvalheim's avatar Andrew Kvalheim
Browse files

vagrant: disable version check

Silences messages such as:

> A new version of Vagrant is available: 2.3.4 (installed version: 2.2.19)!

Documentation: https://developer.hashicorp.com/vagrant/docs/v2.2.19/other/environmental-variables#vagrant_checkpoint_disable
parent e8c46b5f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -79,7 +79,8 @@ in buildRubyGem rec {
    in ''
    wrapProgram "$out/bin/vagrant" \
      --set GEM_PATH "${deps}/lib/ruby/gems/${ruby.version.libDir}" \
      --prefix PATH ':' ${pathAdditions}
      --prefix PATH ':' ${pathAdditions} \
      --set VAGRANT_CHECKPOINT_DISABLE '✓'

    mkdir -p "$out/vagrant-plugins/plugins.d"
    echo '{}' > "$out/vagrant-plugins/plugins.json"