mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-23 22:46:16 +02:00
change deprecated attribute syntax in run examples
This commit is contained in:
parent
e34b317bbf
commit
d865085c7e
1 changed files with 3 additions and 3 deletions
|
@ -113,15 +113,15 @@ struct CmdRun : InstallablesCommand, RunCommon
|
||||||
},
|
},
|
||||||
Example{
|
Example{
|
||||||
"To start a shell providing youtube-dl from your 'nixpkgs' channel:",
|
"To start a shell providing youtube-dl from your 'nixpkgs' channel:",
|
||||||
"nix run nixpkgs.youtube-dl"
|
"nix run nixpkgs#youtube-dl"
|
||||||
},
|
},
|
||||||
Example{
|
Example{
|
||||||
"To run GNU Hello:",
|
"To run GNU Hello:",
|
||||||
"nix run nixpkgs.hello -c hello --greeting 'Hi everybody!'"
|
"nix run nixpkgs#hello -c hello --greeting 'Hi everybody!'"
|
||||||
},
|
},
|
||||||
Example{
|
Example{
|
||||||
"To run GNU Hello in a chroot store:",
|
"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"
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue