Merge pull request #63529 from samueldr/fix/vagrant/salt-provisioner

vagrant: Don't patch salt provisioner's shebang
This commit is contained in:
Samuel Dionne-Riel 2019-07-01 19:22:02 -04:00 committed by GitHub
commit 86c11030ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,6 +84,13 @@ in buildRubyGem rec {
fi
'';
# `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;
};