fix: use valid Nix comment syntax in modules

This commit is contained in:
copilot-swe-agent[bot] 2026-07-27 00:10:59 +00:00 committed by GitHub
commit 259b3d65b8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 7 deletions

View file

@ -5,10 +5,10 @@
...
}:
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.
# 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.
maybe = cat: pkgsList:
lib.optionals (config.cats.${cat} or false) pkgsList;
rPackages = (pkgs.baseRPackages or [ ]) ++ config.settings.lang_packages.r;