treewide: use lib.optionals

This commit is contained in:
Felix Buehler
2023-02-14 19:11:59 +01:00
parent 3bee4ab8db
commit bc3d5934d7
23 changed files with 43 additions and 57 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
, sha512
, type ? "jar"
, suffix ? ""
, sourceProvenance ? (if type == "jar" then [ lib.sourceTypes.binaryBytecode ] else [])
, sourceProvenance ? (lib.optionals (type == "jar") [ lib.sourceTypes.binaryBytecode ])
}:
let