opensmtpd-extras: drop python2 option

related to https://github.com/NixOS/nixpkgs/issues/148779
main
Jörg Thalheim 2 years ago
parent ed6cab97aa
commit e73fb8d32f
  1. 6
      nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
  2. 2
      nixos/doc/manual/release-notes/rl-2205.section.md
  3. 14
      pkgs/servers/mail/opensmtpd/extras.nix

@ -191,6 +191,12 @@
<literal>virtualisation.docker.daemon.settings</literal>.
</para>
</listitem>
<listitem>
<para>
opensmtpd-extras is no longer build with python2 scripting
support due to python2 deprecation in nixpkgs
</para>
</listitem>
<listitem>
<para>
The <literal>autorestic</literal> package has been upgraded

@ -66,6 +66,8 @@ In addition to numerous new and upgraded packages, this release has the followin
- If you previously used `/etc/docker/daemon.json`, you need to incorporate the changes into the new option `virtualisation.docker.daemon.settings`.
- opensmtpd-extras is no longer build with python2 scripting support due to python2 deprecation in nixpkgs
- The `autorestic` package has been upgraded from 1.3.0 to 1.5.0 which introduces breaking changes in config file, check [their migration guide](https://autorestic.vercel.app/migration/1.4_1.5) for more details.
- For `pkgs.python3.pkgs.ipython`, its direct dependency `pkgs.python3.pkgs.matplotlib-inline`

@ -1,6 +1,5 @@
{ lib, stdenv, fetchurl, openssl, libevent, libasr,
python2, pkg-config, lua5, perl, libmysqlclient, postgresql, sqlite, hiredis,
enablePython ? true,
{ lib, stdenv, fetchurl, openssl, libevent, libasr, ncurses,
pkg-config, lua5, perl, libmysqlclient, postgresql, sqlite, hiredis,
enableLua ? true,
enablePerl ? true,
enableMysql ? true,
@ -20,7 +19,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl libevent
libasr python2 lua5 perl libmysqlclient postgresql sqlite hiredis ];
libasr lua5 perl libmysqlclient postgresql sqlite hiredis ];
configureFlags = [
"--sysconfdir=/etc"
@ -48,13 +47,6 @@ stdenv.mkDerivation rec {
"--with-scheduler-ram"
"--with-scheduler-stub"
] ++ lib.optionals enablePython [
"--with-python=${python2}"
"--with-filter-python"
"--with-queue-python"
"--with-table-python"
"--with-scheduler-python"
] ++ lib.optionals enableLua [
"--with-lua=${pkg-config}"
"--with-filter-lua"

Loading…
Cancel
Save