Flakes: Difference between revisions
imported>Drupol m add formatter derivation examples |
imported>Drupol m add double quotes |
||
Line 142: | Line 142: | ||
# Formatter (alejandra, nixfmt or nixpkgs-fmt) | # Formatter (alejandra, nixfmt or nixpkgs-fmt) | ||
formatter.<system> = derivation; | formatter."<system>" = derivation; | ||
# Used for nixpkgs packages, also accessible via `nix build .#<name>` | # Used for nixpkgs packages, also accessible via `nix build .#<name>` | ||
legacyPackages."<system>"."<name>" = derivation; | legacyPackages."<system>"."<name>" = derivation; |