mirror of
https://github.com/dwinkler1/nvimConfig.git
synced 2026-08-22 17:43:13 -04:00
docs: clarify Nix laziness comment
This commit is contained in:
parent
259b3d65b8
commit
f4b960c604
1 changed files with 3 additions and 3 deletions
|
|
@ -6,9 +6,9 @@
|
|||
}:
|
||||
let
|
||||
# Include packages from a category only if that category is enabled.
|
||||
# NOTE: The package list expression is still evaluated (packages in Nix are
|
||||
# lazy by default, so derivations are not built), so keep side-effecting
|
||||
# expressions out of these lists.
|
||||
# NOTE: Package list expressions are lazily evaluated, and derivations are
|
||||
# not built until needed, so keep side-effecting expressions out of these
|
||||
# lists.
|
||||
maybe = cat: pkgsList:
|
||||
lib.optionals (config.cats.${cat} or false) pkgsList;
|
||||
rPackages = (pkgs.baseRPackages or [ ]) ++ config.settings.lang_packages.r;
|
||||
|
|
|
|||
Loading…
Reference in a new issue