mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
guestfs-tools: install bash-completion scripts
This commit is contained in:
parent
fd7f6be003
commit
960cc8f3f1
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, bash-completion
|
||||
, bison
|
||||
, cdrkit
|
||||
, cpio
|
||||
@ -56,6 +57,7 @@ stdenv.mkDerivation rec {
|
||||
]);
|
||||
|
||||
buildInputs = [
|
||||
bash-completion
|
||||
hivex
|
||||
jansson
|
||||
libguestfs-with-appliance
|
||||
@ -74,6 +76,10 @@ stdenv.mkDerivation rec {
|
||||
"LIBGUESTFS_PATH=${libguestfs-with-appliance}/lib/guestfs"
|
||||
];
|
||||
|
||||
installFlags = [
|
||||
"BASH_COMPLETIONS_DIR=${placeholder "out"}/share/bash-completion/completions"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
postInstall = ''
|
||||
|
Loading…
Reference in New Issue
Block a user