mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-09-23 01:38:04 +03:00
ea38605d11
Backported from the lazy-trees branch. Note that this doesn't yet use the access control features of FSInputAccessor.
12 lines
161 B
C++
12 lines
161 B
C++
#include "eval.hh"
|
|
#include "fs-input-accessor.hh"
|
|
|
|
namespace nix {
|
|
|
|
SourcePath EvalState::rootPath(CanonPath path)
|
|
{
|
|
return {rootFS, std::move(path)};
|
|
}
|
|
|
|
}
|