diff --git a/zkapauthorizer.nix b/zkapauthorizer.nix
index e617ab0d98185f086a1856cf4b294b0de81c669c..e97afba83b8986e338e61f727bb0d5281c293779 100644
--- a/zkapauthorizer.nix
+++ b/zkapauthorizer.nix
@@ -1,6 +1,6 @@
 { buildPythonPackage, sphinx
-, attrs, zope_interface, aniso8601, twisted, tahoe-lafs, privacypass
-, fixtures, testtools, hypothesis, pyflakes, treq, coverage
+, attrs, zope_interface, aniso8601, twisted, tahoe-lafs, privacypass, treq
+, fixtures, testtools, hypothesis, pyflakes, coverage
 , hypothesisProfile ? null
 , collectCoverage ? false
 , testSuite ? null
@@ -30,6 +30,7 @@ buildPythonPackage rec {
     twisted
     tahoe-lafs
     privacypass
+    treq
   ];
 
   checkInputs = [
@@ -37,8 +38,6 @@ buildPythonPackage rec {
     fixtures
     testtools
     hypothesis
-    twisted
-    treq
   ];
 
   checkPhase = ''