nixos/binfmt: update release notes and provide examples

This commit is contained in:
Matthew Bauer 2019-07-17 17:09:20 -04:00
parent 1acc701fdb
commit 857f7fb4af
2 changed files with 10 additions and 0 deletions

View File

@ -33,6 +33,15 @@
PHP 7.1 is no longer supported due to upstream not supporting this version for the entire lifecycle of the 19.09 release. PHP 7.1 is no longer supported due to upstream not supporting this version for the entire lifecycle of the 19.09 release.
</para> </para>
</listitem> </listitem>
<listitem>
<para>
The binfmt module is now easier to use. Additional systems can
be added through <option>boot.binfmt.emulatedSystems</option>.
For instance, <literal>boot.binfmt.emulatedSystems = [
"wasm32-wasi" "x86_64-windows" "aarch64-linux" ];</literal> will
set up binfmt interpreters for each of those listed systems.
</para>
</listitem>
</itemizedlist> </itemizedlist>
</section> </section>

View File

@ -234,6 +234,7 @@ in {
emulatedSystems = mkOption { emulatedSystems = mkOption {
default = []; default = [];
example = [ "wasm32-wasi" "x86_64-windows" "aarch64-linux" ];
description = '' description = ''
List of systems to emulate. Will also configure Nix to List of systems to emulate. Will also configure Nix to
support your new systems. support your new systems.