summaryrefslogtreecommitdiffstats
path: root/flake.nix
diff options
context:
space:
mode:
authorLuc Perkins <lucperkins@gmail.com>2022-10-28 15:31:47 -0300
committerCole Helbling <cole.e.helbling@outlook.com>2022-10-29 10:50:29 -0700
commit16448f9e76cf207a331e397b33b3e059b81fce0d (patch)
tree4552d8fc33f5e74c0706e392d3c4d7c6ba1091b2 /flake.nix
parent0c738e2e1826e8347b32a5649bdae2ccb23f2a8a (diff)
doc: use evaluating instead of iterating
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix8
1 files 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 = {