mirror of
https://github.com/RGBCube/HTMNIX
synced 2025-07-25 23:17:44 +00:00
Also pass lib to htmnix files
This commit is contained in:
parent
5e91f5fa6f
commit
f0e1be1a7e
1 changed files with 1 additions and 1 deletions
|
@ -77,6 +77,6 @@
|
||||||
result = let
|
result = let
|
||||||
targetFile = builtins.getEnv "TARGET_FILE";
|
targetFile = builtins.getEnv "TARGET_FILE";
|
||||||
targetFile' = if targetFile != "" then targetFile else "site/index.nix";
|
targetFile' = if targetFile != "" then targetFile else "site/index.nix";
|
||||||
in builtins.scopedImport { inherit (self) raw __findFile; } ./${targetFile'};
|
in builtins.scopedImport { inherit (self) raw __findFile; inherit lib; } ./${targetFile'};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue