github-backup: run versionCheckHook

This commit is contained in:
Robert Schütz
2025-11-06 22:50:21 -08:00
parent 55f0736291
commit 6b6b1c534d

View File

@@ -1,9 +1,11 @@
{
lib,
python3Packages,
cacert,
fetchFromGitHub,
git,
git-lfs,
versionCheckHook,
}:
python3Packages.buildPythonApplication rec {
@@ -32,8 +34,13 @@ python3Packages.buildPythonApplication rec {
])
];
# has no unit tests
doCheck = false;
nativeInstallCheckInputs = [
versionCheckHook
];
env.SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt";
versionCheckKeepEnvironment = [ "SSL_CERT_FILE" ];
meta = with lib; {
description = "Backup a github user or organization";