about summary refs log tree commit diff
path: root/tools
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
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')
-rw-r--r--tools/rfcToKindle/default.nix4
-rw-r--r--tools/run/default.nix7
-rw-r--r--tools/run/shell.nix2
-rw-r--r--tools/simple_vim/default.nix2
-rw-r--r--tools/symlinkManager/default.nix6
5 files changed, 5 insertions, 16 deletions
diff --git a/tools/rfcToKindle/default.nix b/tools/rfcToKindle/default.nix
index 3bfa71f2896d..8fb93c3bb5b8 100644
--- a/tools/rfcToKindle/default.nix
+++ b/tools/rfcToKindle/default.nix
@@ -1,6 +1,4 @@
-{
-  depot ? import <depot> {}, ...
-}:
+{ depot, ... }:
 
 # TODO: This doesn't depend on `sendgmr` at the moment, but it should. As such,
 # it's an imcomplete packaging.
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; [
diff --git a/tools/simple_vim/default.nix b/tools/simple_vim/default.nix
index 7ea0b5ebc8a1..7132a649232d 100644
--- a/tools/simple_vim/default.nix
+++ b/tools/simple_vim/default.nix
@@ -1,4 +1,4 @@
-{ pkgs ? import <nixpkgs> {}, ... }:
+{ pkgs, ... }:
 
 let
   script = pkgs.writeShellScriptBin "simple_vim" ''
diff --git a/tools/symlinkManager/default.nix b/tools/symlinkManager/default.nix
index 6500991babb9..16bb26bb3c2e 100644
--- a/tools/symlinkManager/default.nix
+++ b/tools/symlinkManager/default.nix
@@ -1,8 +1,4 @@
-{
-  depot ? import <depot> {},
-  briefcase ? import <briefcase> {},
-  ...
-}:
+{ depot, briefcase, ... }:
 
 depot.buildGo.program {
   name = "symlink-mgr";