vagrant: Adds bash-completion to the proper folder. (#30482)

This commit is contained in:
Samuel Dionne-Riel 2017-10-16 21:35:04 -04:00 committed by Jörg Thalheim
parent 39598617f2
commit bd87a3be2d

View File

@ -126,6 +126,9 @@ in stdenv.mkDerivation rec {
cp -r usr/bin "$out"
wrapProgram "$out/bin/vagrant" --prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ libxml2 libxslt ]}" \
--prefix LD_LIBRARY_PATH : "$out/opt/vagrant/embedded/lib"
install -D "opt/vagrant/embedded/gems/gems/vagrant-$version/contrib/bash/completion.sh" \
"$out/share/bash-completion/completions/vagrant"
'';
preFixup = ''