diff options
Diffstat (limited to 'monzo_ynab/tokens.nix')
-rw-r--r-- | monzo_ynab/tokens.nix | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/monzo_ynab/tokens.nix b/monzo_ynab/tokens.nix index 6b932e3975ad..a00191a20782 100644 --- a/monzo_ynab/tokens.nix +++ b/monzo_ynab/tokens.nix @@ -4,12 +4,24 @@ ... }: -depot.buildGo.program { +let + auth = depot.buildGo.package { + name = "auth"; + srcs = [ + ./auth.go + ]; + deps = with briefcase.gopkgs; [ + utils + ]; + }; +in depot.buildGo.program { name = "token-server"; srcs = [ ./tokens.go ]; deps = with briefcase.gopkgs; [ kv + utils + auth ]; } |