From 461fa9704ade762e386d94055ee2880fc65c3c5e Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Mon, 31 Aug 2026 22:08:14 +0200 Subject: [PATCH] python3Packages.mkdocs-embed-file-plugin: fix build --- .../python-modules/mkdocs-embed-file-plugin/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/mkdocs-embed-file-plugin/default.nix b/pkgs/development/python-modules/mkdocs-embed-file-plugin/default.nix index 7384e05e23b2..4d7ce6705f38 100644 --- a/pkgs/development/python-modules/mkdocs-embed-file-plugin/default.nix +++ b/pkgs/development/python-modules/mkdocs-embed-file-plugin/default.nix @@ -27,6 +27,11 @@ buildPythonPackage (finalAttrs: { hash = "sha256-6FmMMaR+gyp5Gx0oXiDYvsr6uA8hwrV93YYrYkJsMNY="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail "version = \"2.1.4\"" "version = \"${finalAttrs.version}\"" + ''; + build-system = [ hatchling ];