aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/paths.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr/paths.cc')
-rw-r--r--src/libexpr/paths.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libexpr/paths.cc b/src/libexpr/paths.cc
new file mode 100644
index 000000000..1d690b722
--- /dev/null
+++ b/src/libexpr/paths.cc
@@ -0,0 +1,10 @@
+#include "eval.hh"
+
+namespace nix {
+
+SourcePath EvalState::rootPath(CanonPath path)
+{
+ return std::move(path);
+}
+
+}