Skip to content

Commit 21b3483

Browse files
committed
run qbpm --help as install check in nix build
1 parent c4e2966 commit 21b3483

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

flake.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535
pkgs.installShellFiles
3636
];
3737
nativeCheckInputs = [ python.pkgs.pytestCheckHook ];
38+
doInstallCheck = true;
39+
installCheckPhase = "$out/bin/qbpm --help";
3840
postInstall = ''
3941
_QBPM_COMPLETE=bash_source $out/bin/qbpm > completions/qbpm.bash
4042
_QBPM_COMPLETE=zsh_source $out/bin/qbpm > completions/qbpm.zsh

0 commit comments

Comments
 (0)