vagrant: Don't patch salt provisioner's shebang

The script is intended to run on remote systems, not on the local
system. The shebang **has** to work where nix and the current store does
not exist.
This commit is contained in:
Samuel Dionne-Riel 2019-06-19 13:06:56 -04:00
parent 83ba5afcc9
commit 15879c318e

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;
};