Revert "pythonPackages: set mainProgram to pname by default"
It's now the case that `nix run` checks `pname` as well as `name`, so this is no longer needed. See:a2473823d7
This reverts commitbaf91ea7d9
.
This commit is contained in:
parent
189af8d922
commit
44d5d31d98
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue