1
1
forked from extern/flakelight
flakelight/builtinModules
Archit Gupta 1d92662d82 Allow devShell to be a package def or take args
Previously, devShell was inconsistent when setting it to a function.
When setting directly, a function was assumed to be a package definition
and was used to set devShells.default directly. When auto-loading, a
function was assumed to take module args, and result in config (not a
derivation).

This now enables both behaviors in either case by detecting if a
function is a package definition or if it expects module args and
handling it accordingly.
2024-01-14 19:22:46 -08:00
..
apps.nix Apply misc code cleanup 2024-01-14 12:59:39 -08:00
builtinFormatters.nix Make default formatter not depend on devShell.packages 2023-12-05 22:54:01 -08:00
builtinOverlay.nix Apply misc code cleanup 2024-01-14 12:59:39 -08:00
bundlers.nix Apply misc code cleanup 2024-01-14 12:59:39 -08:00
checks.nix Apply misc code cleanup 2024-01-14 12:59:39 -08:00
core.nix Apply misc code cleanup 2024-01-14 12:59:39 -08:00
devShells.nix Allow devShell to be a package def or take args 2024-01-14 19:22:46 -08:00
editorconfig.nix Rename project from flakelite to flakelight 2023-08-26 22:48:57 -07:00
flakelightModules.nix Add options for flakelight modules 2023-08-26 22:57:59 -07:00
formatter.nix Fix option type for formatter 2024-01-12 01:26:03 -08:00
functor.nix Add functor option for flake's __functor attribute 2023-09-13 21:02:39 -07:00
homeConfigurations.nix Apply misc code cleanup 2024-01-14 12:59:39 -08:00
homeModules.nix Rename project from flakelite to flakelight 2023-08-26 22:48:57 -07:00
lib.nix Add lib option 2023-09-13 23:17:17 -07:00
moduleArgs.nix Improve performance of per-system attributes 2024-01-11 17:35:01 -08:00
nixDir.nix Allow devShell to be a package def or take args 2024-01-14 19:22:46 -08:00
nixosConfigurations.nix Apply misc code cleanup 2024-01-14 12:59:39 -08:00
nixosModules.nix Rename project from flakelite to flakelight 2023-08-26 22:48:57 -07:00
overlays.nix Add option for extending default overlay 2023-08-26 23:46:37 -07:00
packages.nix Avoid evaluating packages twice 2024-01-12 00:45:22 -08:00
propagationModule.nix Apply misc code cleanup 2024-01-14 12:59:39 -08:00
templates.nix Fix merge function for custom option types 2023-10-18 20:02:24 -07:00