From b5bcef3d0a2938b5bd2dead4707b113bf78bb469 Mon Sep 17 00:00:00 2001 From: randogoth Date: Mon, 8 Jun 2026 10:21:08 +0300 Subject: [PATCH] Fix tlv8 missing setuptools build dependency tlv8 (pulled in by pynostr) is sdist-only and uses setuptools without declaring it, breaking uv2nix build isolation. Co-Authored-By: Claude Sonnet 4.6 --- flake.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/flake.nix b/flake.nix index 00ff375..c1a81c6 100644 --- a/flake.nix +++ b/flake.nix @@ -58,6 +58,11 @@ lib.composeManyExtensions [ pyproject-build-systems.overlays.wheel overlay + (final: prev: { + tlv8 = prev.tlv8.overrideAttrs (old: { + nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ final.setuptools ]; + }); + }) ] ) );