From c576f0b59a883020f38f87126d0fc12d45d13cf0 Mon Sep 17 00:00:00 2001 From: Archit Gupta Date: Mon, 20 May 2024 20:40:07 -0700 Subject: [PATCH] Add note about default inputs and CLI flags --- API_GUIDE.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/API_GUIDE.md b/API_GUIDE.md index a92fb98..87a0a30 100644 --- a/API_GUIDE.md +++ b/API_GUIDE.md @@ -93,7 +93,9 @@ for `inputs` and `inputs'` in the package set. Default values are automatically initialized from your flake inputs by reading your `flake.lock`. Note that this does not include the `self` argument, which -must be passed explicitly if you want to use it. +must be passed explicitly if you want to use it. The default values also are not +affected by nix command flags like `--override-input`, so inputs should be +passed to enable full CLI functionality. Flakelight will add a recent `nixpkgs` input if your flake does not have one. Other flakelight modules may provide default inputs for their dependencies.