Unverified Commit e6f04efd authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt Committed by GitHub
Browse files

python3Packages.ansible-core: patch cli stub (#486253)

parents f63f6ab1 20d7a5f3
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -44,9 +44,6 @@ buildPythonPackage (finalAttrs: {
    hash = "sha256-7KsxZH1d5FfdnsYfKSNGCmdYuBi8KzZxyZbG2WNAM9Y=";
  };

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