trivial-builders: Fix runCommand examples
This commit is contained in:
parent
8c881a1bb5
commit
a0fa0cd8cf
|
@ -18,8 +18,8 @@ rec {
|
||||||
* stdenv with no compiler environment. `runCommandCC`
|
* stdenv with no compiler environment. `runCommandCC`
|
||||||
*
|
*
|
||||||
* Examples:
|
* Examples:
|
||||||
* runCommand "name" {envVariable = true;} ''echo hello''
|
* runCommand "name" {envVariable = true;} ''echo hello > $out''
|
||||||
* runCommandNoCC "name" {envVariable = true;} ''echo hello'' # equivalent to prior
|
* runCommandNoCC "name" {envVariable = true;} ''echo hello > $out'' # equivalent to prior
|
||||||
* runCommandCC "name" {} ''gcc -o myfile myfile.c; cp myfile $out'';
|
* runCommandCC "name" {} ''gcc -o myfile myfile.c; cp myfile $out'';
|
||||||
*/
|
*/
|
||||||
runCommand = runCommandNoCC;
|
runCommand = runCommandNoCC;
|
||||||
|
|
Loading…
Reference in a new issue