mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 22:16:16 +02:00
Merge pull request #4098 from DavHau/davhau-add-nix-run-examples
add more examples to --help of `nix run`
This commit is contained in:
commit
4a358743d2
1 changed files with 8 additions and 0 deletions
|
@ -167,6 +167,14 @@ struct CmdRun : InstallableCommand, RunCommon
|
|||
"To run Blender:",
|
||||
"nix run blender-bin"
|
||||
},
|
||||
Example{
|
||||
"To run vim from nixpkgs:",
|
||||
"nix run nixpkgs#vim"
|
||||
},
|
||||
Example{
|
||||
"To run vim from nixpkgs with arguments:",
|
||||
"nix run nixpkgs#vim -- --help"
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue