diff options
Diffstat (limited to 'src/libcmd/command.hh')
-rw-r--r-- | src/libcmd/command.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcmd/command.hh b/src/libcmd/command.hh index 826531a18..db4d4c023 100644 --- a/src/libcmd/command.hh +++ b/src/libcmd/command.hh @@ -137,7 +137,7 @@ struct InstallableCommand : virtual Args, SourceExprCommand std::optional<FlakeRef> getFlakeRefForCompletion() override { - return parseFlakeRef(_installable, absPath(".")); + return parseFlakeRefWithFragment(_installable, absPath(".")).first; } private: @@ -221,7 +221,7 @@ static RegisterCommand registerCommand2(std::vector<std::string> && name) /* Helper function to generate args that invoke $EDITOR on filename:lineno. */ -Strings editorFor(const Pos & pos); +Strings editorFor(const Path & file, uint32_t line); struct MixProfile : virtual StoreCommand { |