mirror of
https://github.com/NixOS/nix
synced 2025-07-02 01:01:48 +02:00
* Primops: baseNameOf, toString.
This commit is contained in:
parent
c8268ca991
commit
adf9a45469
4 changed files with 30 additions and 4 deletions
|
@ -30,10 +30,6 @@ static Path searchPath(const Paths & searchDirs, const Path & relPath)
|
|||
#if 0
|
||||
static Expr evalExpr2(EvalState & state, Expr e)
|
||||
{
|
||||
/* Conditional. */
|
||||
if (ATmatch(e, "If(<term>, <term>, <term>)", &e1, &e2, &e3)) {
|
||||
}
|
||||
|
||||
/* Ad-hoc function for string matching. */
|
||||
if (ATmatch(e, "HasSubstr(<term>, <term>)", &e1, &e2)) {
|
||||
e1 = evalExpr(state, e1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue