From 7e51248ccb4c491bdc4d9cac1af0fdb487c52436 Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Thu, 7 Nov 2019 11:35:21 -0500
Subject: [PATCH] supply our stripe key on the issuer

---
 morph/issuer.nix | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/morph/issuer.nix b/morph/issuer.nix
index ddf01bdf..57ffd009 100644
--- a/morph/issuer.nix
+++ b/morph/issuer.nix
@@ -1,5 +1,6 @@
 { hardware
 , ristrettoSigningKeyPath
+, stripeSecretKeyPath
 , issuerDomain
 , letsEncryptAdminEmail
 , stateVersion
@@ -27,6 +28,7 @@
     enable = true;
     # XXX This should be passed as a path.
     ristrettoSigningKey = builtins.readFile (./.. + ristrettoSigningKeyPath);
+    stripeSecretKeyPath = ./.. + stripeSecretKeyPath;
     database = "SQLite3";
     databasePath = "/var/db/vouchers.sqlite3";
     inherit letsEncryptAdminEmail;
-- 
GitLab