about summary refs log tree commit diff
path: root/monzo_ynab
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-02-23T22·29+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-03-01T22·32+0000
commit9e0fdd397382da10a8486d25cfa9d889fdd17f86 (patch)
treec1d097f0ecb1a5366dd22989c2beda9c853dd482 /monzo_ynab
parentfd720fbe4d284d0562ab32e7bb6a3f7171992c21 (diff)
Remove default values for Nix expression parameters
I'm not sure if this commit breaks everything in my monorepo. I think it
will.

Why am I doing this? Perhaps it's a bad idea. I don't fully understand how
readTree works. My ignorance is costing me hours of time spent debugging. In an
effort to better understand readTree, I'm removing the default values for my Nix
expression parameters, which I believe have preventing errors from surfacing.
Diffstat (limited to 'monzo_ynab')
-rw-r--r--monzo_ynab/job.nix6
-rw-r--r--monzo_ynab/shell.nix6
-rw-r--r--monzo_ynab/tokens.nix6
3 files changed, 3 insertions, 15 deletions
diff --git a/monzo_ynab/job.nix b/monzo_ynab/job.nix
index f6cb78789000..1e10751012e2 100644
--- a/monzo_ynab/job.nix
+++ b/monzo_ynab/job.nix
@@ -1,8 +1,4 @@
-{
-  depot ? import <depot> {},
-  briefcase ? import <briefcase> {},
-  ...
-}:
+{ depot, briefcase, ... }:
 
 depot.buildGo.program {
   name = "job";
diff --git a/monzo_ynab/shell.nix b/monzo_ynab/shell.nix
index be185dd1d6d9..efdc5d3e4233 100644
--- a/monzo_ynab/shell.nix
+++ b/monzo_ynab/shell.nix
@@ -1,8 +1,4 @@
-{
-  pkgs ? import <nixpkgs> {},
-  briefcase ? import <briefcase> {},
-  ...
-}:
+{ pkgs, briefcase, ... }:
 
 pkgs.mkShell {
   buildInputs = [
diff --git a/monzo_ynab/tokens.nix b/monzo_ynab/tokens.nix
index a00191a20782..97de09d741e9 100644
--- a/monzo_ynab/tokens.nix
+++ b/monzo_ynab/tokens.nix
@@ -1,8 +1,4 @@
-{
-  depot ? import <depot> {},
-  briefcase ? import <briefcase> {},
-  ...
-}:
+{ depot, briefcase, ... }:
 
 let
   auth = depot.buildGo.package {