buildPython*: move argument-dependent let-in variables down below finalAttrs
This commit is intentionally unformatted for smoother merging and rebasing experience.
This commit is contained in:
@@ -206,6 +206,11 @@ in
|
||||
}@attrs:
|
||||
|
||||
let
|
||||
# Keep extra attributes from `attrs`, e.g., `patchPhase', etc.
|
||||
self = (
|
||||
stdenv.mkDerivation (
|
||||
finalAttrs:
|
||||
let
|
||||
format' =
|
||||
assert (pyproject != null) -> (format == null);
|
||||
if pyproject != null then
|
||||
@@ -270,10 +275,7 @@ let
|
||||
|
||||
isSetuptoolsDependency = isSetuptoolsDependency' (attrs.pname or null);
|
||||
|
||||
# Keep extra attributes from `attrs`, e.g., `patchPhase', etc.
|
||||
self = (
|
||||
stdenv.mkDerivation (
|
||||
finalAttrs:
|
||||
in
|
||||
(cleanAttrs attrs)
|
||||
// {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user