             "-w", targetPackageDirectory.string,
             "-t", target.directory.string,
             "-o", outputDir.string,
-            "--manifest", "\(gir2swiftManifest)",
+            "--manifest", "\(gir2swiftManifestYaml)",
         ]
 
         arguments.append(contentsOf: girFiles.flatMap { girFile in


        // Determine the list of input files
        let targetDir = URL(fileURLWithPath: target.directory.string)
        let contents = try FileManager.default.contentsOfDirectory(at: targetDir, includingPropertiesForKeys: nil)

        var inputFiles = contents.filter { file in
            file.lastPathComponent.hasPrefix(girName)

            Path(file.path)
        }

        if fileManager.fileExists(atPath: gir2swiftTargetDirectoryManifest.string) {
            inputFiles.append(gir2swiftTargetDirectoryManifest)
        } else {
            inputFiles.append(gir2swiftPackageDirectoryManifest)
        }

        // Find all girs that this library depends on
        let girFiles = target.recursiveTargetDependencies.compactMap {
