treewide: optional -> optionals where the argument is a list

the argument to optional should not be list
This commit is contained in:
Artturin
2022-10-10 15:40:21 +03:00
parent f4ea1208ec
commit 7e49471316
197 changed files with 257 additions and 257 deletions
@@ -166,7 +166,7 @@ let
# only works for GCC and Apple Clang. This makes distutils to call C++
# compiler when needed.
./python-2.7-distutils-C++.patch
] ++ optional (stdenv.hostPlatform != stdenv.buildPlatform) [
] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
./cross-compile.patch
];