From 5707d01df2f08e0be3e70898f7648fc4ba341316 Mon Sep 17 00:00:00 2001 From: ckie Date: Mon, 16 Oct 2023 03:29:45 +0300 Subject: pkgs-lib.formats: add note about missing `pkgs` quirk --- pkgs/pkgs-lib/formats.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/pkgs-lib/formats.nix b/pkgs/pkgs-lib/formats.nix index 44d4cc7330784..3cbda3a7ebdd9 100644 --- a/pkgs/pkgs-lib/formats.nix +++ b/pkgs/pkgs-lib/formats.nix @@ -28,6 +28,11 @@ rec { generate = ...; }); + + Please note that `pkgs` may not always be available for use due to the split + options doc build introduced in fc614c37c653, so lazy evaluation of only the + 'type' field is required. + */ -- cgit 1.4.1