From d865085c7e66599ebcfb30b5e60c80565cc2b077 Mon Sep 17 00:00:00 2001 From: matthew Date: Thu, 31 Oct 2019 23:13:08 -0500 Subject: [PATCH] change deprecated attribute syntax in run examples --- src/nix/run.cc | 6 +++--- 1 file 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" }, }; }