mirror of
https://github.com/RGBCube/HTMNIX
synced 2025-07-29 00:47:44 +00:00
Don't have some default site code and use proper paths
This commit is contained in:
parent
f0e1be1a7e
commit
8d3f0fdde6
4 changed files with 2 additions and 16 deletions
|
@ -74,9 +74,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
result = let
|
||||
targetFile = builtins.getEnv "TARGET_FILE";
|
||||
targetFile' = if targetFile != "" then targetFile else "site/index.nix";
|
||||
in builtins.scopedImport { inherit (self) raw __findFile; inherit lib; } ./${targetFile'};
|
||||
result = builtins.scopedImport { inherit (self) raw __findFile; inherit lib; } /${builtins.getEnv "TARGET_FILE"};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue