Commit f83867d2 authored by Yueh-Shun Li's avatar Yueh-Shun Li
Browse files

buildPythonPackage: comment on passthru.__stdenvPythonCompat

parent 5c219b59
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -418,6 +418,9 @@ lib.extendMkDerivation {
          optional-dependencies
          ;
        updateScript = nix-update-script { };
        # __stdenvPythonCompat attribute is here for overrideStdenvCompat in `python-packages-base.nix` to work.
        # It is internal and subject to changes.
        # TODO(@ShamrockLee): Remove when overrideStdenvCompat gets removed.
        ${if attrs ? stdenv then "__stdenvPythonCompat" else null} = attrs.stdenv;
      }
      // attrs.passthru or { };