mirror of
https://github.com/NixOS/nix
synced 2025-06-26 20:01:15 +02:00
* Handle string contexts. `nix-instantiate' can now correctly compute
the `firefoxWrapper' attribute in Nixpkgs, and it's about 3 times faster than the trunk :-)
This commit is contained in:
parent
d8cd3115d8
commit
979f163615
3 changed files with 28 additions and 65 deletions
|
@ -172,6 +172,7 @@ public:
|
|||
void forceList(Value & v);
|
||||
void forceFunction(Value & v); // either lambda or primop
|
||||
string forceString(Value & v);
|
||||
string forceString(Value & v, PathSet & context);
|
||||
string forceStringNoCtx(Value & v);
|
||||
|
||||
/* String coercion. Converts strings, paths and derivations to a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue