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