1
Fork 0
mirror of https://github.com/RGBCube/HTMNIX synced 2025-07-24 22:47:43 +00:00

Also pass lib to htmnix files

This commit is contained in:
RGBCube 2024-02-28 12:32:03 +03:00
parent 5e91f5fa6f
commit f0e1be1a7e
No known key found for this signature in database

View file

@ -77,6 +77,6 @@
result = let
targetFile = builtins.getEnv "TARGET_FILE";
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'};
};
}