Skip to content

Commit 4899abe

Browse files
SomeoneSergejordankanter
authored andcommitted
nix: add a comment about makeScope
1 parent f27aec2 commit 4899abe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.devops/nix/scope.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
llamaVersion ? "0.0.0",
55
}:
66

7+
# We're using `makeScope` instead of just writing out an attrset
8+
# because it allows users to apply overlays later using `overrideScope'`.
9+
# Cf. https://noogle.dev/f/lib/makeScope
10+
711
lib.makeScope newScope (
812
self: {
913
inherit llamaVersion;

0 commit comments

Comments
 (0)