diff --git a/PaymentServer.cabal b/PaymentServer.cabal
index 5910ce73ba57d00482ba7095a36ddf70fd4cc5bf..df14a53f471c4a879bcac9ddcfd29f73a6efc8a8 100644
--- a/PaymentServer.cabal
+++ b/PaymentServer.cabal
@@ -35,6 +35,7 @@ library
                      , cryptonite
   default-language:    Haskell2010
   ghc-options:       -Wmissing-import-lists -Wunused-imports
+  pkgconfig-depends: ristretto
 
 executable PaymentServer-exe
   hs-source-dirs:      app