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 commit baf91ea7d9.
main
Malo Bourgon 2 years ago
parent 189af8d922
commit 44d5d31d98
  1. 2
      pkgs/development/interpreters/python/mk-python-derivation.nix

@ -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…
Cancel
Save