perf: replace ./ with self to improve evaluation speed

This commit is contained in:
anntnzrb
2025-10-08 21:14:24 -05:00
parent 02d941739f
commit 3f738f00e0

View File

@@ -14,11 +14,14 @@
}; };
}; };
outputs = inputs: let outputs = {
self,
...
} @ inputs: let
core-inputs = core-inputs =
inputs inputs
// { // {
src = ./.; src = self;
}; };
# Create the library, extending the nixpkgs library and merging # Create the library, extending the nixpkgs library and merging
@@ -69,8 +72,8 @@
raw-config = config; raw-config = config;
config = { config = {
root = ./.; root = self;
src = ./.; src = self;
namespace = "snowfall"; namespace = "snowfall";
lib-dir = "snowfall-lib"; lib-dir = "snowfall-lib";
@@ -82,7 +85,7 @@
internal-lib = let internal-lib = let
lib = mkLib { lib = mkLib {
src = ./.; src = self;
inputs = inputs =
inputs inputs