From 16448f9e76cf207a331e397b33b3e059b81fce0d Mon Sep 17 00:00:00 2001 From: Luc Perkins Date: Fri, 28 Oct 2022 15:31:47 -0300 Subject: [PATCH] doc: use evaluating instead of iterating --- flake.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 4c9ad799a003..f9a23c531efe 100644 --- a/flake.nix +++ b/flake.nix @@ -50,10 +50,10 @@ # is used here as a substitute attribute name for `packages`. The problem # with `packages` is that it makes operations like `nix flake show # nixpkgs` unusably slow due to the sheer number of packages the Nix CLI - # needs to iterate through. But when the Nix CLI sees a `legacyPackages` - # attribute it displays `omitted` instead of iterating through all - # packages, which keeps `nix flake show` on Nixpkgs reasonably fast, - # though less information rich. + # needs to evaluate. But when the Nix CLI sees a `legacyPackages` + # attribute it displays `omitted` instead of evaluating all packages, + # which keeps `nix flake show` on Nixpkgs reasonably fast, though less + # information rich. legacyPackages = forAllSystems (system: import ./. { inherit system; }); nixosModules = {