Skip to content

Commit

Permalink
feat(flake): Install shell completions in the flake build
Browse files Browse the repository at this point in the history
  • Loading branch information
etu committed Jun 15, 2024
1 parent ff28526 commit 095c267
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

nativeBuildInputs = [
pkgs.pandoc
pkgs.installShellFiles
];

prePatch = ''
Expand All @@ -37,6 +38,7 @@

postInstall = ''
install -Dm644 goprocmgr.1 $out/share/man/man1/goprocmgr.1
installShellCompletion --cmd goprocmgr contrib/completions/goprocmgr.{fish,bash}
'';

src = ./.;
Expand Down

0 comments on commit 095c267

Please sign in to comment.