Merge pull request #91667 from DavHau/fix-indentation

mk-python-derivation.nix: fix indentation
This commit is contained in:
Lassulus 2020-08-21 17:07:44 +02:00 committed by GitHub
commit 7d03cf2c8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -173,13 +173,13 @@ let
platforms = python.meta.platforms;
isBuildPythonPackage = python.meta.platforms;
} // meta;
} // lib.optionalAttrs (attrs?checkPhase) {
} // lib.optionalAttrs (attrs?checkPhase) {
# If given use the specified checkPhase, otherwise use the setup hook.
# Longer-term we should get rid of `checkPhase` and use `installCheckPhase`.
installCheckPhase = attrs.checkPhase;
}));
}));
passthru.updateScript = let
passthru.updateScript = let
filename = builtins.head (lib.splitString ":" self.meta.position);
in attrs.passthru.updateScript or [ update-python-libraries filename ];
in lib.extendDerivation true passthru self