From ef368068984feb73bae4fef5ecef5c9419a5a4de Mon Sep 17 00:00:00 2001 From: John Ericson Date: Sun, 20 Apr 2025 17:20:54 -0400 Subject: [PATCH] Explain the use of "2" in the overlay Co-authored-by: Robert Hensing --- flake.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flake.nix b/flake.nix index 084cec010..a8759d042 100644 --- a/flake.nix +++ b/flake.nix @@ -143,6 +143,7 @@ # without "polluting" the top level "`pkgs`" attrset. # This also has the benefit of providing us with a distinct set of packages # we can iterate over. + # The `2` suffix is here because otherwise it interferes with `nixVersions.latest`, which is used in daemon compat tests. nixComponents2 = lib.makeScopeWithSplicing' { @@ -162,6 +163,7 @@ # The dependencies are in their own scope, so that they don't have to be # in Nixpkgs top level `pkgs` or `nixComponents2`. + # The `2` suffix is here because otherwise it interferes with `nixVersions.latest`, which is used in daemon compat tests. nixDependencies2 = lib.makeScopeWithSplicing' {