mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
python3Packages.pre-commit-hooks: disable test on darwin
They fail and won't be fixed upstream, see https://github.com/pre-commit/pre-commit-hooks/pull/655
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
, ruamel-yaml
|
||||
, stdenv
|
||||
, toml
|
||||
}:
|
||||
|
||||
@@ -30,6 +31,10 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
# Note: this is not likely to ever work on Darwin
|
||||
# https://github.com/pre-commit/pre-commit-hooks/pull/655
|
||||
doCheck = !stdenv.isDarwin;
|
||||
|
||||
# the tests require a functional git installation which requires a valid HOME
|
||||
# directory.
|
||||
preCheck = ''
|
||||
|
||||
Reference in New Issue
Block a user