···125125 nativeBuildInputs = [
126126 pkgs.brotli
127127 (let
128128- self = (pkgs.python3Minimal.override {
128128+ # python3Minimal can't be overridden with packages on Darwin, due to a missing framework.
129129+ # Instead of modifying stdenv, we take the easy way out, since most people on Darwin will
130130+ # just be hacking on the Nixpkgs manual (which also uses make-options-doc).
131131+ python = if pkgs.stdenv.isDarwin then pkgs.python3 else pkgs.python3Minimal;
132132+ self = (python.override {
129133 inherit self;
130134 includeSiteCustomize = true;
131135 });