Browse Source

nix: add a comment about makeScope

Someone Serge 2 years ago
parent
commit
5e97ec91ae
1 changed files with 4 additions and 0 deletions
  1. 4 0
      .devops/nix/scope.nix

+ 4 - 0
.devops/nix/scope.nix

@@ -4,6 +4,10 @@
   llamaVersion ? "0.0.0",
 }:
 
+# We're using `makeScope` instead of just writing out an attrset
+# because it allows users to apply overlays later using `overrideScope'`.
+# Cf. https://noogle.dev/f/lib/makeScope
+
 lib.makeScope newScope (
   self: {
     inherit llamaVersion;