Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

podman: install completion #76574

Merged
merged 1 commit into from
Dec 27, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions pkgs/applications/virtualization/podman/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, pkgconfig
{ stdenv, fetchFromGitHub, pkgconfig, installShellFiles
, buildGoPackage, gpgme, lvm2, btrfs-progs, libseccomp, systemd
, go-md2man
}:
Expand All @@ -18,7 +18,7 @@ buildGoPackage rec {

outputs = [ "bin" "out" "man" ];

nativeBuildInputs = [ pkgconfig go-md2man ];
nativeBuildInputs = [ pkgconfig go-md2man installShellFiles ];

buildInputs = [ btrfs-progs libseccomp gpgme lvm2 systemd ];

Expand All @@ -30,6 +30,8 @@ buildGoPackage rec {

installPhase = ''
install -Dm555 bin/podman $bin/bin/podman
installShellCompletion --bash completions/bash/podman
installShellCompletion --zsh completions/zsh/_podman
MANDIR=$man/share/man make install.man
'';

Expand Down