diff options
author | matthew <matthewkenigsberg@gmail.com> | 2019-10-31 23:13:08 -0500 |
---|---|---|
committer | matthew <matthewkenigsberg@gmail.com> | 2019-10-31 23:13:08 -0500 |
commit | d865085c7e66599ebcfb30b5e60c80565cc2b077 (patch) | |
tree | d9d3813164309c7e71708568b6e6487d6df05604 /src/nix/run.cc | |
parent | e34b317bbf778efb4e9bee5d34fb2ceb7776de3f (diff) |
change deprecated attribute syntax in run examples
Diffstat (limited to 'src/nix/run.cc')
-rw-r--r-- | src/nix/run.cc | 6 |
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" }, }; } |