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. --- emacs/default.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'emacs/default.nix') diff --git a/emacs/default.nix b/emacs/default.nix index a61d6fb7020e..094b1c3db6a5 100644 --- a/emacs/default.nix +++ b/emacs/default.nix @@ -1,11 +1,7 @@ -{ - pkgs ? import {}, - depot ? import {}, - ... -}: +{ pkgs, depot, ... }: let - utils = import ~/briefcase/utils; + utils = import ; # NOTE: I'm trying to keep the list of dependencies herein constrained to a # list of generic dependencies (i.e. not project or language specific). For # language-specific tooling, I'm intending to use shell.nix alongside lorri -- cgit 1.4.1