aboutsummaryrefslogtreecommitdiff
path: root/src/nix/build.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-05-10 21:35:07 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-05-10 21:35:07 +0200
commite0c19ee620c53b52ca7cf69c19d414d782338be1 (patch)
treea28571713bc2558e09798d2f4bdc2d0220802649 /src/nix/build.cc
parent91ddee6bf045b1c6144d14233abdb96127186ec3 (diff)
Add completion for paths
Diffstat (limited to 'src/nix/build.cc')
-rw-r--r--src/nix/build.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nix/build.cc b/src/nix/build.cc
index 83d47acd4..474337208 100644
--- a/src/nix/build.cc
+++ b/src/nix/build.cc
@@ -18,6 +18,7 @@ struct CmdBuild : InstallablesCommand, MixDryRun, MixProfile
.description = "path of the symlink to the build result",
.labels = {"path"},
.handler = {&outLink},
+ .completer = completePath
});
addFlag({