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 =
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user