1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 19:01:16 +02:00

add antiquotations to paths

This commit is contained in:
Taeer Bar-Yam 2021-07-29 12:03:07 -04:00
parent da55210403
commit 8f9429dcab
4 changed files with 106 additions and 22 deletions

View file

@ -217,7 +217,8 @@ public:
booleans and lists to a string. If `copyToStore' is set,
referenced paths are copied to the Nix store as a side effect. */
string coerceToString(const Pos & pos, Value & v, PathSet & context,
bool coerceMore = false, bool copyToStore = true);
bool coerceMore = false, bool copyToStore = true,
bool canonizePath = true);
string copyPathToStore(PathSet & context, const Path & path);