forked from mirrors/nixpkgs
Merge pull request #153449 from Mic92/opensmtpd-extras
opensmtpd-extras: drop python2 option
This commit is contained in:
commit
b57d7dc58f
|
@ -215,6 +215,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
|
||||
|
|
|
@ -72,6 +72,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…
Reference in a new issue