doc: use evaluating instead of iterating

authored by Luc Perkins and committed by helbling.dev 16448f9e 0c738e2e

+4 -4
+4 -4
flake.nix
··· 50 # is used here as a substitute attribute name for `packages`. The problem 51 # with `packages` is that it makes operations like `nix flake show 52 # nixpkgs` unusably slow due to the sheer number of packages the Nix CLI 53 - # needs to iterate through. But when the Nix CLI sees a `legacyPackages` 54 - # attribute it displays `omitted` instead of iterating through all 55 - # packages, which keeps `nix flake show` on Nixpkgs reasonably fast, 56 - # though less information rich. 57 legacyPackages = forAllSystems (system: import ./. { inherit system; }); 58 59 nixosModules = {
··· 50 # is used here as a substitute attribute name for `packages`. The problem 51 # with `packages` is that it makes operations like `nix flake show 52 # nixpkgs` unusably slow due to the sheer number of packages the Nix CLI 53 + # needs to evaluate. But when the Nix CLI sees a `legacyPackages` 54 + # attribute it displays `omitted` instead of evaluating all packages, 55 + # which keeps `nix flake show` on Nixpkgs reasonably fast, though less 56 + # information rich. 57 legacyPackages = forAllSystems (system: import ./. { inherit system; }); 58 59 nixosModules = {