                     manifest.addShellCmd(
                         name: jobOutputs.first!.name,
                         description: description,
-                        inputs: inputs + jobInputs,
+                        inputs: (inputs + jobInputs).uniqued(),
                         outputs: jobOutputs,
                         args: arguments
                     )

                        name: jobOutputs.first!.name,
                        moduleName: moduleName,
                        description: description,
                        inputs: inputs + jobInputs,
                        outputs: jobOutputs,
                        args: arguments
                    )

        }
    }
}

extension Sequence where Element: Hashable {
    /// Unique the elements in a sequence.
    func uniqued() -> [Element] {
        var seen: Set<Element> = []
        return filter { seen.insert($0).inserted }
    }
}
