1
Fork 0
mirror of https://github.com/RGBCube/HTMNIX synced 2025-07-25 23:17:44 +00:00

Use nixPath properly

This commit is contained in:
RGBCube 2024-03-04 12:44:22 +03:00
parent 3e11d78f54
commit 46dbe475ae
No known key found for this signature in database

View file

@ -36,11 +36,11 @@
call = builtins.scopedImport self;
DOCTYPE = self.__findFile {} "!DOCTYPE html";
DOCTYPE = self.__findFile __nixPath "!DOCTYPE html";
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;
__functor = this: next: