git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commit15879c318e4218283c0e90b4d73aa43b92640463 authorSamuel Dionne-Riel <samuel@dionne-riel.com> dateWed 19 Jun 2019, 13:06 (7 years ago) parent83ba5af
1 file changed+7
pkgs/development/tools/vagrant/default.nix+7
pkgs/development/tools/vagrant/default.nix+7
@@ -84,6 +84,13 @@ in buildRubyGem rec {
8484 fi
8585 '';
8686
87+ # `patchShebangsAuto` patches this one script which is intended to run
88+ # on foreign systems.
89+ postFixup = ''
90+ sed -i -e '1c#!/bin/sh -' \
91+ $out/lib/ruby/gems/*/gems/vagrant-*/plugins/provisioners/salt/bootstrap-salt.sh
92+ '';
93+
8794 passthru = {
8895 inherit ruby deps;
8996 };