From 9e0fdd397382da10a8486d25cfa9d889fdd17f86 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Sun, 23 Feb 2020 22:29:32 +0000 Subject: 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. --- gopkgs/kv/default.nix | 5 +---- gopkgs/utils/default.nix | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) (limited to 'gopkgs') diff --git a/gopkgs/kv/default.nix b/gopkgs/kv/default.nix index 1d54ecc350df..c89e002139e2 100644 --- a/gopkgs/kv/default.nix +++ b/gopkgs/kv/default.nix @@ -1,7 +1,4 @@ -{ - depot ? import {}, - ... -}: +{ depot, ... }: depot.buildGo.package { name = "kv"; diff --git a/gopkgs/utils/default.nix b/gopkgs/utils/default.nix index d92b82ca4d03..5955fa4cfbde 100644 --- a/gopkgs/utils/default.nix +++ b/gopkgs/utils/default.nix @@ -1,7 +1,4 @@ -{ - depot ? import {}, - ... -}: +{ depot, ... }: depot.buildGo.package { name = "utils"; -- cgit 1.4.1