Skip to content

Commit 4a7f6d9

Browse files
committed
stenc: install bash completions
1 parent 1b11f87 commit 4a7f6d9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pkgs/by-name/st/stenc/package.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
autoreconfHook,
77
pkg-config,
88
pandoc,
9+
installShellFiles,
910
}:
1011

1112
stdenv.mkDerivation rec {
@@ -28,10 +29,15 @@ stdenv.mkDerivation rec {
2829
autoreconfHook
2930
pkg-config
3031
pandoc
32+
installShellFiles
3133
];
3234

3335
doCheck = true;
3436

37+
postInstall = ''
38+
installShellCompletion --bash bash-completion/stenc
39+
'';
40+
3541
passthru.updateScript = gitUpdater { };
3642

3743
meta = {

0 commit comments

Comments
 (0)