diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-05-11 22:04:13 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-05-11 22:04:13 +0200 |
commit | 27d34ef770356f86823ca832f278e72bb0a07982 (patch) | |
tree | a1ab41c459a1d01057513b5db309b50963f0e765 /src/nix | |
parent | 259ff74bdeeaac5a987a4eb88654ba80d9553543 (diff) |
When completing flakerefs, only return directories
Diffstat (limited to 'src/nix')
-rw-r--r-- | src/nix/installables.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/installables.cc b/src/nix/installables.cc index ade8f83f9..5ba48d69a 100644 --- a/src/nix/installables.cc +++ b/src/nix/installables.cc @@ -109,7 +109,7 @@ Strings SourceExprCommand::getDefaultFlakeAttrPathPrefixes() void SourceExprCommand::completeInstallable(std::string_view prefix) { - completePath(0, prefix); + completeDir(0, prefix); if (file) return; // FIXME |