From 21b3483e529a070702872ee9304b3bb9a062ef18 Mon Sep 17 00:00:00 2001 From: Peter Rice Date: Tue, 22 Jul 2025 14:16:25 -0400 Subject: [PATCH] run `qbpm --help` as install check in nix build --- flake.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flake.nix b/flake.nix index 3f8ec98..7d4be0a 100644 --- a/flake.nix +++ b/flake.nix @@ -35,6 +35,8 @@ pkgs.installShellFiles ]; nativeCheckInputs = [ python.pkgs.pytestCheckHook ]; + doInstallCheck = true; + installCheckPhase = "$out/bin/qbpm --help"; postInstall = '' _QBPM_COMPLETE=bash_source $out/bin/qbpm > completions/qbpm.bash _QBPM_COMPLETE=zsh_source $out/bin/qbpm > completions/qbpm.zsh -- 2.51.2