guestfs-tools: install bash-completion scripts

This commit is contained in:
Astro 2022-10-10 22:56:04 +02:00
parent fd7f6be003
commit 960cc8f3f1

View File

@ -1,6 +1,7 @@
{ lib { lib
, stdenv , stdenv
, fetchurl , fetchurl
, bash-completion
, bison , bison
, cdrkit , cdrkit
, cpio , cpio
@ -56,6 +57,7 @@ stdenv.mkDerivation rec {
]); ]);
buildInputs = [ buildInputs = [
bash-completion
hivex hivex
jansson jansson
libguestfs-with-appliance libguestfs-with-appliance
@ -74,6 +76,10 @@ stdenv.mkDerivation rec {
"LIBGUESTFS_PATH=${libguestfs-with-appliance}/lib/guestfs" "LIBGUESTFS_PATH=${libguestfs-with-appliance}/lib/guestfs"
]; ];
installFlags = [
"BASH_COMPLETIONS_DIR=${placeholder "out"}/share/bash-completion/completions"
];
enableParallelBuilding = true; enableParallelBuilding = true;
postInstall = '' postInstall = ''