diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2019-06-17 12:17:16 +0200 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2019-06-17 12:28:26 +0200 |
commit | 3c14bda7f5a065d3d290399db2ef15457af3906b (patch) | |
tree | 5e43648eab8e0c02cdcdc1e66bc9e92c9100052c /doc/functions/trivial-builders.xml | |
parent | 11cb382a4c095656463117390baf5b03e029d8a2 (diff) |
doc: fix spurious whitespace
Diffstat (limited to 'doc/functions/trivial-builders.xml')
-rw-r--r-- | doc/functions/trivial-builders.xml | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/functions/trivial-builders.xml b/doc/functions/trivial-builders.xml index 1fd92ecfe262..0211a4f31728 100644 --- a/doc/functions/trivial-builders.xml +++ b/doc/functions/trivial-builders.xml @@ -35,25 +35,25 @@ An example of using <literal>runCommand</literal> is provided below. </para> <programlisting> - (import <nixpkgs> {}).runCommand "my-example" {} '' - echo My example command is running +(import <nixpkgs> {}).runCommand "my-example" {} '' + echo My example command is running - mkdir $out + mkdir $out - echo I can write data to the Nix store > $out/message + echo I can write data to the Nix store > $out/message - echo I can also run basic commands like: + echo I can also run basic commands like: - echo ls - ls + echo ls + ls - echo whoami - whoami + echo whoami + whoami - echo date - date - '' - </programlisting> + echo date + date +'' +</programlisting> </listitem> </varlistentry> <varlistentry> |