From bd87a3be2de2af63d0bd5b27e4495321362e35f1 Mon Sep 17 00:00:00 2001 From: Samuel Dionne-Riel Date: Mon, 16 Oct 2017 21:35:04 -0400 Subject: [PATCH] vagrant: Adds bash-completion to the proper folder. (#30482) --- pkgs/development/tools/vagrant/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/tools/vagrant/default.nix b/pkgs/development/tools/vagrant/default.nix index c61d521ecabc..d37873aaaf31 100644 --- a/pkgs/development/tools/vagrant/default.nix +++ b/pkgs/development/tools/vagrant/default.nix @@ -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 = ''