From a31b66eb708ef379c2cc215ab357d93b36aced50 Mon Sep 17 00:00:00 2001 From: Phillip Cloud <417981+cpcloud@users.noreply.github.com> Date: Mon, 12 Dec 2022 08:13:00 -0500 Subject: [PATCH] revert: mkdocs-material: support newer versions This reverts commit 6b0a8b6f01233747518ad51381b2aa9faa09f6d4. --- overrides/default.nix | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/overrides/default.nix b/overrides/default.nix index dd7c53f..6be59f8 100644 --- a/overrides/default.nix +++ b/overrides/default.nix @@ -2739,20 +2739,6 @@ lib.composeManyExtensions [ mkdocs = super.mkdocs.overridePythonAttrs (old: { propagatedBuildInputs = old.propagatedBuildInputs or [ ] ++ [ self.babel ]; }); - - # hatch-requirements-txt has a huge set of circular dependencies which - # are only used at build time, and none of which are required to use - # mkdocs-material as a dependency, so we remove the part of - # pyproject.toml that requires it - mkdocs-material = super.mkdocs-material.overridePythonAttrs (old: { - postPatch = pkgs.optionalString (lib.versionAtLeast old.version "8.5.3") '' - substituteInPlace pyproject.toml \ - --replace ', "hatch-requirements-txt"' "" \ - --replace '"hatch-requirements-txt",' "" \ - --replace '[tool.hatch.metadata.hooks.requirements_txt]' "" \ - --replace 'filename = "requirements.txt"' "" - ''; - }); } )