mirror of
https://github.com/NixOS/nix
synced 2025-06-26 07:31:15 +02:00
nix --help: Display help using lowdown instead of man
Fixes #4476. Fixes #5231.
This commit is contained in:
parent
14205debb2
commit
49a932fb18
8 changed files with 89 additions and 25 deletions
|
@ -172,6 +172,14 @@ public:
|
|||
trivial (i.e. doesn't require arbitrary computation). */
|
||||
void evalFile(const Path & path, Value & v, bool mustBeTrivial = false);
|
||||
|
||||
/* Like `cacheFile`, but with an already parsed expression. */
|
||||
void cacheFile(
|
||||
const Path & path,
|
||||
const Path & resolvedPath,
|
||||
Expr * e,
|
||||
Value & v,
|
||||
bool mustBeTrivial = false);
|
||||
|
||||
void resetFileCache();
|
||||
|
||||
/* Look up a file in the search path. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue