mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 10:53:11 +00:00
guestfs-tools: install bash-completion scripts
This commit is contained in:
parent
fd7f6be003
commit
960cc8f3f1
@ -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 = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user