Skip to content

Commit f666ec3

Browse files
Ericson2314roberth
authored andcommitted
Explain the use of "2" in the overlay
Co-authored-by: Robert Hensing <[email protected]> (cherry picked from commit ef36806)
1 parent ba22a85 commit f666ec3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

flake.nix

+2
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@
143143
# without "polluting" the top level "`pkgs`" attrset.
144144
# This also has the benefit of providing us with a distinct set of packages
145145
# we can iterate over.
146+
# The `2` suffix is here because otherwise it interferes with `nixVersions.latest`, which is used in daemon compat tests.
146147
nixComponents2 =
147148
lib.makeScopeWithSplicing'
148149
{
@@ -162,6 +163,7 @@
162163

163164
# The dependencies are in their own scope, so that they don't have to be
164165
# in Nixpkgs top level `pkgs` or `nixComponents2`.
166+
# The `2` suffix is here because otherwise it interferes with `nixVersions.latest`, which is used in daemon compat tests.
165167
nixDependencies2 =
166168
lib.makeScopeWithSplicing'
167169
{

0 commit comments

Comments
 (0)