diff --git a/default.nix b/default.nix
index bb6e535109ca61c3c10535631bfcfce4b354bde4..8e8f92d64933c21e8aba8f09a33a0290f3b228bd 100644
--- a/default.nix
+++ b/default.nix
@@ -36,9 +36,5 @@ in
     PaymentServer.components.library = hsPkgs.PaymentServer.components.library.overrideAttrs (old: {
       PKG_CONFIG_PATH = "${pkgs.libchallenge_bypass_ristretto_ffi.lib}/pkgconfig";
       NIX_LDFLAGS = "-L${pkgs.libchallenge_bypass_ristretto_ffi.lib}/lib";
-
-      nativeBuildInputs = with pkgs; hsPkgs.PaymentServer.components.library.nativeBuildInputs ++ [
-        libchallenge_bypass_ristretto_ffi
-      ];
     });
   }