diff --git a/pkgs/development/compilers/mit-scheme/default.nix b/pkgs/development/compilers/mit-scheme/default.nix index 505c3fb05525..486cf04e2e26 100644 --- a/pkgs/development/compilers/mit-scheme/default.nix +++ b/pkgs/development/compilers/mit-scheme/default.nix @@ -1,5 +1,6 @@ { fetchurl, + fetchDebianPatch, lib, stdenv, makeWrapper, @@ -43,6 +44,16 @@ stdenv.mkDerivation { sha256 = "035f92vni0vqmgj9hq2i7vwasz7crx52wll4823vhfkm1qdv5ywc"; }; + patches = [ + (fetchDebianPatch { + pname = "mit-scheme"; + version = "12.1"; + debianRevision = "4"; + patch = "0006-texi2any-_html-fix.patch"; + hash = "sha256-tTAK/xRGubQeiqe1Nbo+m3CYmscXxQ8HAlIl4kSZxk8="; + }) + ]; + buildInputs = [ ncurses ] ++ lib.optionals enableX11 [ libX11 ]; configurePhase = '' diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index aadbbeac1b37..5ee31ec73ea6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5496,9 +5496,7 @@ with pkgs; jdk_headless = openjdk8_headless; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731 }; - mitscheme = callPackage ../development/compilers/mit-scheme { - texinfo = texinfo6; - }; + mitscheme = callPackage ../development/compilers/mit-scheme { }; mitschemeX11 = mitscheme.override { enableX11 = true;