forked from lix-project/lix
add more examples to --help of nix run
This commit is contained in:
parent
924712eef1
commit
f3280004e2
|
@ -167,6 +167,14 @@ struct CmdRun : InstallableCommand, RunCommon
|
||||||
"To run Blender:",
|
"To run Blender:",
|
||||||
"nix run blender-bin"
|
"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