python313Packages.bc-detect-secrets: migrate to writableTmpDirAsHomeHook

Changed files
+2 -4
pkgs
development
python-modules
bc-detect-secrets
+2 -4
pkgs/development/python-modules/bc-detect-secrets/default.nix
···
responses,
setuptools,
unidiff,
}:
buildPythonPackage rec {
···
pkgs.gitMinimal
pytestCheckHook
responses
]
++ lib.flatten (builtins.attrValues optional-dependencies);
-
-
preCheck = ''
-
export HOME=$(mktemp -d);
-
'';
disabledTests = [
# Tests are failing for various reasons (missing git repo, missing test data, etc.)
···
responses,
setuptools,
unidiff,
+
writableTmpDirAsHomeHook,
}:
buildPythonPackage rec {
···
pkgs.gitMinimal
pytestCheckHook
responses
+
writableTmpDirAsHomeHook
]
++ lib.flatten (builtins.attrValues optional-dependencies);
disabledTests = [
# Tests are failing for various reasons (missing git repo, missing test data, etc.)