fix requireTo function
This commit is contained in:
parent
88b86fb1dd
commit
b447430d99
1 changed files with 1 additions and 1 deletions
2
lib.nix
2
lib.nix
|
@ -79,7 +79,7 @@ let
|
|||
call0 = fnName: call fnName [ ];
|
||||
call1 = fnName: arg: call fnName [ arg ];
|
||||
require = name: call "require" name;
|
||||
requireTo = name: local (set (require name));
|
||||
requireTo = varName: name: local (set varName (require name));
|
||||
|
||||
kw_and = raw "and";
|
||||
kw_or = raw "or";
|
||||
|
|
Loading…
Reference in a new issue