aboutsummaryrefslogtreecommitdiff
path: root/src/nix/edit.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-07-15 20:28:16 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-07-15 20:28:16 +0200
commit2d6d53bc87ef7468ad73431cf76123316f4c82bf (patch)
tree3fd1742d50c3082959a139e75f7feaa3048f5c91 /src/nix/edit.cc
parent3624c042ace05db88794e87ee37f3296bab19bc8 (diff)
nix: Fix examples
Diffstat (limited to 'src/nix/edit.cc')
-rw-r--r--src/nix/edit.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/edit.cc b/src/nix/edit.cc
index 067d3a973..dc9775635 100644
--- a/src/nix/edit.cc
+++ b/src/nix/edit.cc
@@ -20,7 +20,7 @@ struct CmdEdit : InstallableCommand
return {
Example{
"To open the Nix expression of the GNU Hello package:",
- "nix edit nixpkgs.hello"
+ "nix edit nixpkgs#hello"
},
};
}