Merge pull request #34347 from aneeshusa/make-bsdtar-available-for-vagrant
vagrant: Make bsdtar available to extract boxes
This commit is contained in:
commit
a7794d287b
@ -1,4 +1,4 @@
|
|||||||
{ lib, fetchurl, buildRubyGem, bundlerEnv, ruby }:
|
{ lib, fetchurl, buildRubyGem, bundlerEnv, ruby, libarchive }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "2.0.1";
|
version = "2.0.1";
|
||||||
@ -36,9 +36,12 @@ in buildRubyGem rec {
|
|||||||
./unofficial-installation-nowarn.patch
|
./unofficial-installation-nowarn.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# PATH additions:
|
||||||
|
# - libarchive: Make `bsdtar` available for extracting downloaded boxes
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram "$out/bin/vagrant" \
|
wrapProgram "$out/bin/vagrant" \
|
||||||
--set GEM_PATH "${deps}/lib/ruby/gems/${ruby.version.libDir}"
|
--set GEM_PATH "${deps}/lib/ruby/gems/${ruby.version.libDir}" \
|
||||||
|
--prefix PATH ':' "${lib.getBin libarchive}/bin"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user