treewide: optional -> optionals where the argument is a list
the argument to optional should not be list
This commit is contained in:
@@ -39,9 +39,9 @@ buildPythonPackage rec {
|
||||
buildInputs = [
|
||||
which
|
||||
sphinx
|
||||
] ++ lib.optional enableGhostscript [
|
||||
] ++ lib.optionals enableGhostscript [
|
||||
ghostscript
|
||||
] ++ lib.optional stdenv.isDarwin [
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
Cocoa
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user