mirror of
https://github.com/NixOS/nix
synced 2025-06-26 07:31:15 +02:00
EvalState::copyPathToStore(): Return a StorePath
This commit is contained in:
parent
845fc3f605
commit
bda879170f
3 changed files with 17 additions and 16 deletions
|
@ -400,7 +400,7 @@ public:
|
|||
bool coerceMore = false, bool copyToStore = true,
|
||||
bool canonicalizePath = true);
|
||||
|
||||
std::string copyPathToStore(PathSet & context, const Path & path);
|
||||
StorePath copyPathToStore(PathSet & context, const Path & path);
|
||||
|
||||
/* Path coercion. Converts strings, paths and derivations to a
|
||||
path. The result is guaranteed to be a canonicalised, absolute
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue