Flakes: Difference between revisions
imported>Drupol m added the shell commands to enable flake |
imported>Drupol m add `formatter` in output |
||
Line 141: | Line 141: | ||
apps."<system>".default = { type = "app"; program = "..."; }; | apps."<system>".default = { type = "app"; program = "..."; }; | ||
# Formatter | |||
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; |