anchor.diff:      "test_path_env_gets_set_from_main"
       # tries to read from /etc/ca-certificates.conf while inside the sandbox
       "test_handler_ca_certs"
  +    # Doesn't work in the sandbox
  +    "TestEphemeralDhcpNoNetworkSetup"
  +    "TestHasURLConnectivity"
  +    "TestReadFileOrUrl"
  +    "TestConsumeUserDataHttp"
  +    # Chef Omnibus
  +    "TestInstallChefOmnibus"
  +  ];
  +
  +  disabledTestPaths = [
  +    # Oracle tests are not passing
  +    "cloudinit/sources/tests/test_oracle.py"
  +    # Disable the integration tests. pycloudlib would be required
  +    "tests/unittests/test_datasource/test_aliyun.py"
  +    "tests/unittests/test_datasource/test_azure.py"
  +    "tests/unittests/test_datasource/test_ec2.py"
  +    "tests/unittests/test_datasource/test_exoscale.py"
  +    "tests/unittests/test_datasource/test_gce.py"
  +    "tests/unittests/test_datasource/test_openstack.py"
  +    "tests/unittests/test_datasource/test_scaleway.py"
  +    "tests/unittests/test_ec2_util.py"
     ];
   
     preCheck = ''
       # TestTempUtils.test_mkdtemp_default_non_root does not like TMPDIR=/build
       export TMPDIR=/tmp
     '';
  +
  +  pythonImportsCheck = [ "cloudinit" ];
   
     meta = with lib; {
       homepage = "https://cloudinit.readthedocs.org";
  
positive.code: 
  buildPythonApplication rec {
    pname = "cloud-init";
    version = "20.3";
    namePrefix = "";
  
    src = fetchFromGitHub {
      owner = "canonical";
      repo = "cloud-init";
      rev = version;
      sha256 = "1fmckxf4q4sxjqs758vw7ca0rnhl9hyq67cqpqzz2v3s1gqzjhm4";
    };
  
    patches = [ ./0001-add-nixos-support.patch ];
  
negative.code:   ];
  
    makeWrapperArgs = [
      "--prefix PATH : ${lib.makeBinPath [ dmidecode cloud-utils.guest ]}/bin"
    ];
  
    disabledTests = [
  