Merge pull request #56377 from LnL7/nixos-rebuild-edit

nixos-rebuild: add changelog/docs for edit subcommand
This commit is contained in:
Sarah Brofeldt 2019-03-02 10:12:07 +01:00 committed by GitHub
commit ecd5ec3521
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 0 deletions

View File

@ -38,6 +38,10 @@
<option>dry-activate</option>
</arg>
<arg choice='plain'>
<option>edit</option>
</arg>
<arg choice='plain'>
<option>build-vm</option>
</arg>
@ -188,6 +192,15 @@ $ nix-build /path/to/nixpkgs/nixos -A system
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>edit</option>
</term>
<listitem>
<para>
Opens <filename>configuration.nix</filename> in the default editor.
</para>
</listitem>
<varlistentry>
<term>
<option>build-vm</option>

View File

@ -673,6 +673,11 @@
An upgrade guide can be found <link xlink:href="https://www.open-mpi.org/faq/?category=mpi-removed">here</link>.
</para>
</listitem>
<listitem>
<para>
A new subcommand <command>nixos-rebuild edit</command> was added.
</para>
</listitem>
</itemizedlist>
</section>
</section>