mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
nixos: Add release note about vmVariant
This commit is contained in:
parent
6510ec5acd
commit
439d7d493d
|
@ -132,6 +132,28 @@
|
||||||
socket <literal>/run/redis-${serverName}/redis.sock</literal>.
|
socket <literal>/run/redis-${serverName}/redis.sock</literal>.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
The option
|
||||||
|
<link linkend="opt-virtualisation.vmVariant">virtualisation.vmVariant</link>
|
||||||
|
was added to allow users to make changes to the
|
||||||
|
<literal>nixos-rebuild build-vm</literal> configuration that
|
||||||
|
do not apply to their normal system.
|
||||||
|
</para>
|
||||||
|
<para>
|
||||||
|
The <literal>config.system.build.vm</literal> attribute now
|
||||||
|
always exists and defaults to the value from
|
||||||
|
<literal>vmVariant</literal>. Configurations that import the
|
||||||
|
<literal>virtualisation/qemu-vm.nix</literal> module
|
||||||
|
themselves will override this value, such that
|
||||||
|
<literal>vmVariant</literal> is not used.
|
||||||
|
</para>
|
||||||
|
<para>
|
||||||
|
Similarly
|
||||||
|
<link linkend="opt-virtualisation.vmVariantWithBootLoader">virtualisation.vmVariantWithBootloader</link>
|
||||||
|
was added.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
The
|
The
|
||||||
|
|
|
@ -57,4 +57,14 @@ In addition to numerous new and upgraded packages, this release has the followin
|
||||||
to the members of the Unix group `redis-${serverName}`
|
to the members of the Unix group `redis-${serverName}`
|
||||||
through the Unix socket `/run/redis-${serverName}/redis.sock`.
|
through the Unix socket `/run/redis-${serverName}/redis.sock`.
|
||||||
|
|
||||||
|
- The option [virtualisation.vmVariant](#opt-virtualisation.vmVariant) was added
|
||||||
|
to allow users to make changes to the `nixos-rebuild build-vm` configuration
|
||||||
|
that do not apply to their normal system.
|
||||||
|
|
||||||
|
The `config.system.build.vm` attribute now always exists and defaults to the
|
||||||
|
value from `vmVariant`. Configurations that import the `virtualisation/qemu-vm.nix`
|
||||||
|
module themselves will override this value, such that `vmVariant` is not used.
|
||||||
|
|
||||||
|
Similarly [virtualisation.vmVariantWithBootloader](#opt-virtualisation.vmVariantWithBootLoader) was added.
|
||||||
|
|
||||||
- The `writers.writePyPy2`/`writers.writePyPy3` and corresponding `writers.writePyPy2Bin`/`writers.writePyPy3Bin` convenience functions to create executable Python 2/3 scripts using the PyPy interpreter were added.
|
- The `writers.writePyPy2`/`writers.writePyPy3` and corresponding `writers.writePyPy2Bin`/`writers.writePyPy3Bin` convenience functions to create executable Python 2/3 scripts using the PyPy interpreter were added.
|
||||||
|
|
Loading…
Reference in a new issue