treewide: remove redundant parentheses

Auto-fixed by nixf-diagnose.
This commit is contained in:
Wolfgang Walther
2025-10-05 10:52:03 +02:00
parent c283f32d29
commit 91a8fee3aa
336 changed files with 826 additions and 829 deletions
@@ -38,11 +38,11 @@ buildPythonPackage {
[project.optional-dependencies]
${lib.optionalString (optional-dependencies != { }) (
(lib.concatStringsSep "\n" (
lib.concatStringsSep "\n" (
lib.mapAttrsToList (
group: deps: group + " = " + builtins.toJSON (map lib.getName deps)
) optional-dependencies
))
)
)}
[tool.hatch.build.targets.wheel]
@@ -171,7 +171,7 @@ let
checkDrv = drv: if (isPythonModule drv) && (isMismatchedPython drv) then throwMismatch drv else drv;
in
inputs: map (checkDrv) inputs;
inputs: map checkDrv inputs;
# Keep extra attributes from `attrs`, e.g., `patchPhase', etc.
self = toPythonModule (
@@ -212,7 +212,7 @@ let
setuptoolsBuildHook
]
++ lib.optionals (format == "pyproject") [
(pipBuildHook)
pipBuildHook
]
++ lib.optionals (format == "wheel") [
wheelUnpackHook
@@ -223,7 +223,7 @@ let
eggInstallHook
]
++ lib.optionals (format != "other") [
(pipInstallHook)
pipInstallHook
]
++ lib.optionals (stdenv.buildPlatform == stdenv.hostPlatform) [
# This is a test, however, it should be ran independent of the checkPhase and checkInputs