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

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

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