aboutsummaryrefslogtreecommitdiff
path: root/src/libcmd/editor-for.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcmd/editor-for.hh')
-rw-r--r--src/libcmd/editor-for.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcmd/editor-for.hh b/src/libcmd/editor-for.hh
index c8c4e9d9b..fbf4307c9 100644
--- a/src/libcmd/editor-for.hh
+++ b/src/libcmd/editor-for.hh
@@ -2,6 +2,7 @@
///@file
#include "types.hh"
+#include "input-accessor.hh"
namespace nix {
@@ -9,6 +10,6 @@ namespace nix {
* Helper function to generate args that invoke $EDITOR on
* filename:lineno.
*/
-Strings editorFor(const Path & file, uint32_t line);
+Strings editorFor(const SourcePath & file, uint32_t line);
}