From bd2938cb8a23dca8090ef124f6ded5a9945ba099 Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Fri, 31 Dec 2021 16:31:38 -0500
Subject: [PATCH] use the klein wheel to avoid having to fix the patches from
 the nixpkgs definition

---
 default.nix | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/default.nix b/default.nix
index 877d3a6..fe328d8 100644
--- a/default.nix
+++ b/default.nix
@@ -30,6 +30,10 @@ in
       traceback2 = "wheel";
       # - Incorrectly merged extras - https://github.com/DavHau/mach-nix/pull/334
       tqdm = "wheel";
+
+      # The version of Klein we get doesn't need / can't have the patch that
+      # comes from the nixpkgs derivation mach-nix picks up from 21.05.
+      klein = "wheel";
     };
   in
     rec {
@@ -53,10 +57,6 @@ in
           EOF
         '';
         src = tahoe-lafs-repo;
-
-        # The version of Klein we get doesn't need / can't have the patch that
-        # comes from the nixpkgs derivation mach-nix picks up from 21.05.
-        _.klein.patches = [];
       };
       zkapauthorizer = mach-nix.buildPythonApplication rec {
         inherit python providers;
-- 
GitLab