about summary refs log tree commit diff
path: root/tools/run
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 /tools/run
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 'tools/run')
-rw-r--r--tools/run/default.nix7
-rw-r--r--tools/run/shell.nix2
2 files changed, 2 insertions, 7 deletions
diff --git a/tools/run/default.nix b/tools/run/default.nix
index 113491536ee5..7d772c3f9079 100644
--- a/tools/run/default.nix
+++ b/tools/run/default.nix
@@ -1,9 +1,4 @@
-{
-  pkgs ? import <nixpkgs> {},
-  depot ? import <depot> {},
-  briefcase ? import <briefcase> {},
-  ...
-}:
+{ pkgs, depot, briefcase, ... }:
 
 depot.buildGo.program {
   name = "run";
diff --git a/tools/run/shell.nix b/tools/run/shell.nix
index 8b97f04ca446..de192ae150c7 100644
--- a/tools/run/shell.nix
+++ b/tools/run/shell.nix
@@ -1,4 +1,4 @@
-{ pkgs ? import <nixpkgs> {}, ... }:
+{ pkgs, ... }:
 
 pkgs.mkShell {
   buildInputs = with pkgs; [