Merge pull request #34347 from aneeshusa/make-bsdtar-available-for-vagrant

vagrant: Make bsdtar available to extract boxes

authored by adisbladis and committed by GitHub a7794d28 15aa4fcf

+5 -2
+5 -2
pkgs/development/tools/vagrant/default.nix
··· 1 - { lib, fetchurl, buildRubyGem, bundlerEnv, ruby }: 2 3 let 4 version = "2.0.1"; ··· 36 ./unofficial-installation-nowarn.patch 37 ]; 38 39 postInstall = '' 40 wrapProgram "$out/bin/vagrant" \ 41 - --set GEM_PATH "${deps}/lib/ruby/gems/${ruby.version.libDir}" 42 ''; 43 44 passthru = {
··· 1 + { lib, fetchurl, buildRubyGem, bundlerEnv, ruby, libarchive }: 2 3 let 4 version = "2.0.1"; ··· 36 ./unofficial-installation-nowarn.patch 37 ]; 38 39 + # PATH additions: 40 + # - libarchive: Make `bsdtar` available for extracting downloaded boxes 41 postInstall = '' 42 wrapProgram "$out/bin/vagrant" \ 43 + --set GEM_PATH "${deps}/lib/ruby/gems/${ruby.version.libDir}" \ 44 + --prefix PATH ':' "${lib.getBin libarchive}/bin" 45 ''; 46 47 passthru = {