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