about summary refs log tree commit diff
path: root/nixos/doc/manual
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2021-03-13 01:58:15 +0100
committerJan Tojnar <jtojnar@gmail.com>2021-03-13 01:58:15 +0100
commit9a64ee2b45d8f307b73f127730618d9b03143b49 (patch)
tree2e677f17db268774ff6b24ec960044d8ce22f90d /nixos/doc/manual
parentab479f9b43608c3a2f6226a7273122d2c1fb724c (diff)
parentb0a6c2b8a596aa3da72d003cd3a5e6556eff9072 (diff)
downloadnixlib-9a64ee2b45d8f307b73f127730618d9b03143b49.tar
nixlib-9a64ee2b45d8f307b73f127730618d9b03143b49.tar.gz
nixlib-9a64ee2b45d8f307b73f127730618d9b03143b49.tar.bz2
nixlib-9a64ee2b45d8f307b73f127730618d9b03143b49.tar.lz
nixlib-9a64ee2b45d8f307b73f127730618d9b03143b49.tar.xz
nixlib-9a64ee2b45d8f307b73f127730618d9b03143b49.tar.zst
nixlib-9a64ee2b45d8f307b73f127730618d9b03143b49.zip
Merge branch 'staging-next' into staging
Diffstat (limited to 'nixos/doc/manual')
-rw-r--r--nixos/doc/manual/development/writing-nixos-tests.xml11
-rw-r--r--nixos/doc/manual/release-notes/rl-2105.xml17
2 files changed, 27 insertions, 1 deletions
diff --git a/nixos/doc/manual/development/writing-nixos-tests.xml b/nixos/doc/manual/development/writing-nixos-tests.xml
index cab4c067e0d3..5f70f74d5d90 100644
--- a/nixos/doc/manual/development/writing-nixos-tests.xml
+++ b/nixos/doc/manual/development/writing-nixos-tests.xml
@@ -449,5 +449,16 @@ import ./make-test-python.nix {
     '';
 }
 </programlisting>
+  This will produce a Nix warning at evaluation time. To fully disable the
+  linter, wrap the test script in comment directives to disable the Black linter
+  directly (again, don't commit this within the Nixpkgs repository):
+<programlisting>
+  testScript =
+    ''
+      # fmt: off
+      <replaceable>Python codeā€¦</replaceable>
+      # fmt: on
+    '';
+</programlisting>
  </para>
 </section>
diff --git a/nixos/doc/manual/release-notes/rl-2105.xml b/nixos/doc/manual/release-notes/rl-2105.xml
index 16f5f18e8ba8..b4cf1a202418 100644
--- a/nixos/doc/manual/release-notes/rl-2105.xml
+++ b/nixos/doc/manual/release-notes/rl-2105.xml
@@ -29,7 +29,7 @@
    <listitem>
     <para>
      <link xlink:href="https://www.gnuradio.org/">GNURadio</link> 3.8 was
-     <link xlink:href="https://github.com/NixOS/nixpkgs/issues/82263">finnally</link>
+     <link xlink:href="https://github.com/NixOS/nixpkgs/issues/82263">finally</link>
      packaged, along with a rewrite to the Nix expressions, allowing users to
      override the features upstream supports selecting to compile or not to.
      Additionally, the attribute <code>gnuradio</code> and <code>gnuradio3_7</code>
@@ -567,6 +567,21 @@ self: super:
      The <literal>kindlegen</literal> package is gone, because it is no longer supported or hosted by Amazon. Sadly, its replacement, Kindle Previewer, has no Linux support. However, there are other ways to generate MOBI files. See <link xlink:href="https://github.com/NixOS/nixpkgs/issues/96439">the discussion</link> for more info.
     </para>
    </listitem>
+   <listitem>
+    <para>
+      The <package>apacheKafka</package> packages are now built with
+      version-matched JREs. Versions 2.6 and above, the ones that recommend it,
+      use jdk11, while versions below remain on jdk8. The NixOS service has
+      been adjusted to start the service using the same version as the package,
+      adjustable with the new
+      <link linkend="opt-services.apache-kafka.jre">services.apache-kafka.jre</link>
+      option. Furthermore, the default list of
+      <link linkend="opt-services.apache-kafka.jvmOptions">services.apache-kafka.jvmOptions</link>
+      have been removed. You should set your own according to the
+      <link xlink:href="https://kafka.apache.org/documentation/#java">upstream documentation</link>
+      for your Kafka version.
+    </para>
+   </listitem>
   </itemizedlist>
  </section>