mirror of
https://github.com/mjallen18/snowfall-lib.git
synced 2026-04-18 09:05:58 -05:00
perf: replace ./ with self to improve evaluation speed
This commit is contained in:
13
flake.nix
13
flake.nix
@@ -14,11 +14,14 @@
|
||||
};
|
||||
};
|
||||
|
||||
outputs = inputs: let
|
||||
outputs = {
|
||||
self,
|
||||
...
|
||||
} @ inputs: let
|
||||
core-inputs =
|
||||
inputs
|
||||
// {
|
||||
src = ./.;
|
||||
src = self;
|
||||
};
|
||||
|
||||
# Create the library, extending the nixpkgs library and merging
|
||||
@@ -69,8 +72,8 @@
|
||||
raw-config = config;
|
||||
|
||||
config = {
|
||||
root = ./.;
|
||||
src = ./.;
|
||||
root = self;
|
||||
src = self;
|
||||
namespace = "snowfall";
|
||||
lib-dir = "snowfall-lib";
|
||||
|
||||
@@ -82,7 +85,7 @@
|
||||
|
||||
internal-lib = let
|
||||
lib = mkLib {
|
||||
src = ./.;
|
||||
src = self;
|
||||
|
||||
inputs =
|
||||
inputs
|
||||
|
||||
Reference in New Issue
Block a user