aboutsummaryrefslogtreecommitdiff
path: root/src/nix/installables.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix/installables.cc')
-rw-r--r--src/nix/installables.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nix/installables.cc b/src/nix/installables.cc
index 57060e9b1..c144a7e70 100644
--- a/src/nix/installables.cc
+++ b/src/nix/installables.cc
@@ -77,7 +77,8 @@ SourceExprCommand::SourceExprCommand()
.shortName = 'f',
.description = "evaluate FILE rather than the default",
.labels = {"file"},
- .handler = {&file}
+ .handler = {&file},
+ .completer = completePath
});
addFlag({