summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorMarkus S. Wamser <github-dev@mail2013.wamser.eu>2021-12-11 14:02:38 +0100
committerMarkus S. Wamser <github-dev@mail2013.wamser.eu>2021-12-15 10:01:08 +0100
commitb93e478777f80dc259a003228130e4c1f8666d35 (patch)
tree8834b482dac3c4cdac9dbc10ccdcdd4c3e525e95 /nixos
parent4e42f6bcb3506355cb84a71b9a8af501e936b976 (diff)
downloadnixpkgs-b93e478777f80dc259a003228130e4c1f8666d35.tar
nixpkgs-b93e478777f80dc259a003228130e4c1f8666d35.tar.gz
nixpkgs-b93e478777f80dc259a003228130e4c1f8666d35.tar.bz2
nixpkgs-b93e478777f80dc259a003228130e4c1f8666d35.tar.lz
nixpkgs-b93e478777f80dc259a003228130e4c1f8666d35.tar.xz
nixpkgs-b93e478777f80dc259a003228130e4c1f8666d35.tar.zst
nixpkgs-b93e478777f80dc259a003228130e4c1f8666d35.zip
writers.PyPy{2,3}: init
Diffstat (limited to 'nixos')
-rw-r--r--nixos/doc/manual/from_md/release-notes/rl-2205.section.xml23
-rw-r--r--nixos/doc/manual/release-notes/rl-2205.section.md5
2 files changed, 26 insertions, 2 deletions
diff --git a/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml b/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
index 2a65b2f11a8..d02f951a03c 100644
--- a/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
+++ b/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
@@ -83,11 +83,22 @@
           release based on GTK+3 and Python 3.
         </para>
       </listitem>
+      <listitem>
+        <para>
+          The <literal>writers.writePython2</literal> and corresponding
+          <literal>writers.writePython2Bin</literal> convenience
+          functions to create executable Python 2 scripts in the store
+          were removed in preparation of removal of the Python 2
+          interpreter. Scripts have to be converted to Python 3 for use
+          with <literal>writers.writePython3</literal> or
+          <literal>writers.writePyPy2</literal> needs to be used.
+        </para>
+      </listitem>
     </itemizedlist>
   </section>
   <section xml:id="sec-release-22.05-notable-changes">
     <title>Other Notable Changes</title>
-    <itemizedlist spacing="compact">
+    <itemizedlist>
       <listitem>
         <para>
           The option
@@ -113,6 +124,16 @@
           socket <literal>/run/redis-${serverName}/redis.sock</literal>.
         </para>
       </listitem>
+      <listitem>
+        <para>
+          The
+          <literal>writers.writePyPy2</literal>/<literal>writers.writePyPy3</literal>
+          and corresponding
+          <literal>writers.writePyPy2Bin</literal>/<literal>writers.writePyPy3Bin</literal>
+          convenience functions to create executable Python 2/3 scripts
+          using the PyPy interpreter were added.
+        </para>
+      </listitem>
     </itemizedlist>
   </section>
 </section>
diff --git a/nixos/doc/manual/release-notes/rl-2205.section.md b/nixos/doc/manual/release-notes/rl-2205.section.md
index aceb4134bbb..11e5462b331 100644
--- a/nixos/doc/manual/release-notes/rl-2205.section.md
+++ b/nixos/doc/manual/release-notes/rl-2205.section.md
@@ -34,7 +34,8 @@ In addition to numerous new and upgraded packages, this release has the followin
 - `pkgs.claws-mail-gtk2`, representing Claws Mail's older release version three, was removed in order to get rid of Python 2.
   Please switch to `claws-mail`, which is Claws Mail's latest release based on GTK+3 and Python 3.
 
-- The `writers.writePython2` and corrersponding `writers.writePython2Bin` convenience functions to create executable Python 2 scripts in the store were removed in preparation of removal of the Python 2 interpreter.
+- The `writers.writePython2` and corresponding `writers.writePython2Bin` convenience functions to create executable Python 2 scripts in the store were removed in preparation of removal of the Python 2 interpreter.
+  Scripts have to be converted to Python 3 for use with `writers.writePython3` or `writers.writePyPy2` needs to be used.
 
 ## Other Notable Changes {#sec-release-22.05-notable-changes}
 
@@ -53,3 +54,5 @@ In addition to numerous new and upgraded packages, this release has the followin
   are only accessible by default
   to the members of the Unix group `redis-${serverName}`
   through the Unix socket `/run/redis-${serverName}/redis.sock`.
+
+- 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.