]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
nix: add a comment about makeScope
authorSomeone Serge <redacted>
Sun, 21 Jan 2024 03:15:13 +0000 (03:15 +0000)
committerSomeone <redacted>
Mon, 22 Jan 2024 12:19:30 +0000 (12:19 +0000)
.devops/nix/scope.nix

index 7932ac1e8a9108d1cc747d5a2d83fc572578bfb1..d295995a4b96b6350c8151a10a74b286a59e422e 100644 (file)
@@ -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;