mirror of
https://github.com/RGBCube/HTMNIX
synced 2025-07-26 07:27:44 +00:00
Use nixPath properly
This commit is contained in:
parent
3e11d78f54
commit
46dbe475ae
1 changed files with 2 additions and 2 deletions
|
@ -36,11 +36,11 @@
|
||||||
|
|
||||||
call = builtins.scopedImport self;
|
call = builtins.scopedImport self;
|
||||||
|
|
||||||
DOCTYPE = self.__findFile {} "!DOCTYPE html";
|
DOCTYPE = self.__findFile __nixPath "!DOCTYPE html";
|
||||||
|
|
||||||
result = self.call /${builtins.getEnv "TARGET_FILE"};
|
result = self.call /${builtins.getEnv "TARGET_FILE"};
|
||||||
|
|
||||||
__findFile = env: name: if builtins.elem name propagatedFindFiles then __findFile env name else {
|
__findFile = nixPath: name: if builtins.elem name propagatedFindFiles then __findFile nixPath name else {
|
||||||
outPath = dottedNameToTag name;
|
outPath = dottedNameToTag name;
|
||||||
|
|
||||||
__functor = this: next:
|
__functor = this: next:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue