lxd: use installShellFiles
This commit is contained in:
parent
94e4ec143f
commit
e7b44787b1
1 changed files with 3 additions and 3 deletions
|
@ -5,6 +5,7 @@
|
|||
, writeShellScriptBin, apparmor-profiles, apparmor-parser
|
||||
, criu
|
||||
, bash
|
||||
, installShellFiles
|
||||
}:
|
||||
|
||||
buildGoPackage rec {
|
||||
|
@ -39,11 +40,10 @@ buildGoPackage rec {
|
|||
'')
|
||||
]}
|
||||
|
||||
mkdir -p "$bin/share/bash-completion/completions/"
|
||||
cp -av go/src/github.com/lxc/lxd/scripts/bash/lxd-client "$bin/share/bash-completion/completions/lxc"
|
||||
installShellCompletion --bash go/src/github.com/lxc/lxd/scripts/bash/lxd-client
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ pkgconfig makeWrapper ];
|
||||
nativeBuildInputs = [ installShellFiles pkgconfig makeWrapper ];
|
||||
buildInputs = [ lxc acl libcap libco-canonical.dev dqlite.dev
|
||||
raft-canonical.dev sqlite-replication udev.dev ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue