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:
https://github.com/NixOS/nix/commit/a2473823d748b0249804d393c739622146954d02
This reverts commit baf91ea7d9.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user