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:
parent
83ba5afcc9
commit
15879c318e
@ -84,6 +84,13 @@ in buildRubyGem rec {
|
|||||||
fi
|
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 = {
|
passthru = {
|
||||||
inherit ruby deps;
|
inherit ruby deps;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user