From ff0ccdf572ad6700a2a29a82cc5d17db29708988 Mon Sep 17 00:00:00 2001 From: Farid Zakaria Date: Mon, 12 May 2025 13:58:54 -0700 Subject: [PATCH] docs: add note on "following" nixpkgs input (#3317) The use of `follows` in a flake can cause issues even when `useGlobalPackages` is disabled. Highlight this in the doc. --- docs/mdbook/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/mdbook/index.md b/docs/mdbook/index.md index 36c1ac20..1eab79be 100644 --- a/docs/mdbook/index.md +++ b/docs/mdbook/index.md @@ -15,6 +15,8 @@ Documentation is currently available for the following versions: > This change was largely motivated by: [How do I solve "`` cannot be found in `pkgs`"](./user-guide/faq.html#how-do-i-solve-name-cannot-be-found-in-pkgs) > > The old behaviour can be restored by enabling `nixpkgs.useGlobalPackages`. +> +> If your flake modifies the `nixpkgs` through `follows` this can still cause issues by changing the expected `nixpkg` `nixvim` was tested & built against. @README@