Commit 20d7a5f3 authored by Wim de With's avatar Wim de With
Browse files

python3Packages.ansible-core: patch cli stub

parent 0f991083
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -44,9 +44,6 @@ buildPythonPackage (finalAttrs: {
    hash = "sha256-WLfLbQYYJOdMHApNnFZYiET4es3z2SeeLP0jbrFqxrU=";
  };

  # ansible_connection is already wrapped, so don't pass it through
  # the python interpreter again, as it would break execution of
  # connection plugins.
  postPatch = ''
    patchShebangs --build packaging/cli-doc/build.py

@@ -98,6 +95,10 @@ buildPythonPackage (finalAttrs: {
    installManPage man/*
  '';

  postFixup = ''
    patchPythonScript $out/${python.sitePackages}/ansible/cli/scripts/ansible_connection_cli_stub.py
  '';

  # internal import errors, missing dependencies
  doCheck = false;