Skip to content

Commit

Permalink
flake: add completion and checks for package
Browse files Browse the repository at this point in the history
  • Loading branch information
b12f committed Nov 25, 2024
1 parent 6f7e5dc commit 5e651e2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@
pytest-mock
pytest-runner
];
postInstall = ''
installShellCompletion --bash --name watson watson.completion
installShellCompletion --zsh --name _watson watson.zsh-completion
installShellCompletion --fish watson.fish
'';
nativeCheckInputs = with pkgs.python3Packages; [ pytestCheckHook pytest-mock mock pytest-datafiles ];
nativeBuildInputs = [ pkgs.installShellFiles ];
};
};

Expand Down

0 comments on commit 5e651e2

Please sign in to comment.