flakelight/builtinModules
Archit Gupta efcf01325b Enable faster building of formatter
Since the formatter always depended on devShell packages, building the
formatter involved building all the devShell packages, which can be
slow.

In the case where formatters are set to plain strings, such as
"nixpkgs-fmt", depending on the devShell packages is necessary in order
to put the formatting utility on the path. But when a formatters option
is set to an package, such as "${pkgs.nixpkgs-fmt}/bin/nixpkgs-fmt",
then that formatter option does not depend on the devShell packages.

Flakelight now detects if any of the configured formatters are using the
first form, and only if so does it add the devShell packages dependency.
This allows the first form to still work, without incurring a cost for
flakes that only use the second form.

Users can use the second form for all formatters options if they wish to
not build the devShell packages when using the formatter.
2024-02-19 02:35:16 -08:00
..
apps.nix Replace nixpkgs nullOr type with custom type 2024-02-07 01:49:29 -08:00
builtinFormatters.nix Use mkDefault for default formatters 2024-02-19 00:12:26 -08:00
builtinOverlay.nix Replace nixpkgs nullOr type with custom type 2024-02-07 01:49:29 -08:00
bundlers.nix Replace nixpkgs nullOr type with custom type 2024-02-07 01:49:29 -08:00
checks.nix Replace nixpkgs nullOr type with custom type 2024-02-07 01:49:29 -08:00
core.nix Fix inconsistency when setting outputs.__functor 2024-01-14 19:22:46 -08:00
devShells.nix Allow all of devShells config types in devShells 2024-02-07 01:49:29 -08:00
editorconfig.nix Rename project from flakelite to flakelight 2023-08-26 22:48:57 -07:00
flakelightModules.nix Replace nixpkgs nullOr type with custom type 2024-02-07 01:49:29 -08:00
formatter.nix Enable faster building of formatter 2024-02-19 02:35:16 -08:00
functor.nix Replace nixpkgs nullOr type with custom type 2024-02-07 01:49:29 -08:00
homeConfigurations.nix Enable all options to be auto-loaded from nixDir 2024-01-15 00:07:59 -08:00
homeModules.nix Replace nixpkgs nullOr type with custom type 2024-02-07 01:49:29 -08:00
legacyPackages.nix Replace nixpkgs nullOr type with custom type 2024-02-07 01:49:29 -08:00
lib.nix Make direct and auto-loaded configuration consistent 2024-01-14 19:35:54 -08:00
moduleArgs.nix Improve performance of per-system attributes 2024-01-11 17:35:01 -08:00
nixDir.nix Allow nixDir auto-loads to set a value to null 2024-01-15 01:07:55 -08:00
nixosConfigurations.nix Enable all options to be auto-loaded from nixDir 2024-01-15 00:07:59 -08:00
nixosModules.nix Replace nixpkgs nullOr type with custom type 2024-02-07 01:49:29 -08:00
overlays.nix Replace nixpkgs nullOr type with custom type 2024-02-07 01:49:29 -08:00
packages.nix Include default package in devShell.inputsFrom 2024-02-11 18:09:55 -08:00
propagationModule.nix Enable all options to be auto-loaded from nixDir 2024-01-15 00:07:59 -08:00
templates.nix Replace nixpkgs nullOr type with custom type 2024-02-07 01:49:29 -08:00