From 7d65aab9a02d336f878126f4de170fd27a6c16a5 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 14 May 2021 03:00:55 +0200 Subject: [PATCH] python3Packages.ansible-lint: migrate to ansible 2.10... MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ...which is packaged as ansible-base. ❯ ./result/bin/ansible-lint --version ansible-lint 5.0.8 using ansible 2.10.9 --- pkgs/development/python-modules/ansible-lint/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/ansible-lint/default.nix b/pkgs/development/python-modules/ansible-lint/default.nix index d0df1119baf..eec3b5cc813 100644 --- a/pkgs/development/python-modules/ansible-lint/default.nix +++ b/pkgs/development/python-modules/ansible-lint/default.nix @@ -3,7 +3,7 @@ , isPy27 , fetchPypi , setuptools-scm -, ansible +, ansible-base , enrich , flaky , pyyaml @@ -32,7 +32,7 @@ buildPythonPackage rec { ]; propagatedBuildInputs = [ - ansible + ansible-base enrich flaky pyyaml @@ -67,7 +67,7 @@ buildPythonPackage rec { preCheck = '' # ansible wants to write to $HOME and crashes if it can't export HOME=$(mktemp -d) - export PATH=$PATH:${lib.makeBinPath [ ansible ]} + export PATH=$PATH:${lib.makeBinPath [ ansible-base ]} # create a working ansible-lint executable export PATH=$PATH:$PWD/src/ansiblelint @@ -84,7 +84,7 @@ buildPythonPackage rec { "test_prerun_reqs_v2" ]; - makeWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath [ ansible ]}" ]; + makeWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath [ ansible-base ]}" ]; meta = with lib; { homepage = "https://github.com/ansible-community/ansible-lint";