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
commit 96b7e9502c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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; {