aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-11-05 11:17:54 +0100
committerGitHub <noreply@github.com>2019-11-05 11:17:54 +0100
commit9ff4060d2691c1a7dc2f8be65d117f43c3335714 (patch)
tree6056b7a8e4c38b59ee7f49f05df11739398c2973
parent72748b408801a1d99e8711cf6d94eb4e140d02c1 (diff)
parentd865085c7e66599ebcfb30b5e60c80565cc2b077 (diff)
Merge pull request #3190 from mkenigs/examples
change deprecated attribute syntax in run examples
-rw-r--r--src/nix/run.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nix/run.cc b/src/nix/run.cc
index d444fd2eb..ed15527b8 100644
--- a/src/nix/run.cc
+++ b/src/nix/run.cc
@@ -113,15 +113,15 @@ struct CmdRun : InstallablesCommand, RunCommon
},
Example{
"To start a shell providing youtube-dl from your 'nixpkgs' channel:",
- "nix run nixpkgs.youtube-dl"
+ "nix run nixpkgs#youtube-dl"
},
Example{
"To run GNU Hello:",
- "nix run nixpkgs.hello -c hello --greeting 'Hi everybody!'"
+ "nix run nixpkgs#hello -c hello --greeting 'Hi everybody!'"
},
Example{
"To run GNU Hello in a chroot store:",
- "nix run --store ~/my-nix nixpkgs.hello -c hello"
+ "nix run --store ~/my-nix nixpkgs#hello -c hello"
},
};
}