Merge pull request #120758 from domenkozar/ansible-lint-darwin-fix

ansible-lint: fix tests on darwin
This commit is contained in:
Domen Kožar
2021-04-27 09:16:24 +02:00
committed by GitHub

View File

@@ -1,4 +1,5 @@
{ lib
, stdenv
, fetchPypi
, buildPythonPackage
, isPy27
@@ -63,6 +64,9 @@ buildPythonPackage rec {
"test_role_handler_positive"
];
# fails to run tests due to issues with temporary directory
doCheck = !stdenv.isDarwin;
makeWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath [ ansible ]}" ];
meta = with lib; {