Merge pull request #172268 from malob/pythonPackages-no-mainProgram

Revert "pythonPackages: set mainProgram to pname by default"
This commit is contained in:
davidak 2022-05-11 03:23:34 +02:00 committed by GitHub
commit e7c4f5578e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -176,8 +176,6 @@ let
# default to python's platforms
platforms = python.meta.platforms;
isBuildPythonPackage = python.meta.platforms;
} // lib.optionalAttrs (attrs?pname) {
mainProgram = attrs.pname;
} // meta;
} // lib.optionalAttrs (attrs?checkPhase) {
# If given use the specified checkPhase, otherwise use the setup hook.