diff --git a/pkgs/servers/seafile-server/default.nix b/pkgs/servers/seafile-server/default.nix index d60dd7809913..464c808bac06 100644 --- a/pkgs/servers/seafile-server/default.nix +++ b/pkgs/servers/seafile-server/default.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, fetchFromGitHub, pkg-config, python3Packages, autoreconfHook +{ stdenv, lib, fetchFromGitHub, pkg-config, python3, autoreconfHook , libuuid, sqlite, glib, libevent, libsearpc, openssl, fuse, libarchive, which , vala, cmake, oniguruma }: @@ -28,7 +28,7 @@ in stdenv.mkDerivation rec { glib libsearpc libevent - python3Packages.python + python3 fuse libarchive which diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 08a299137eb4..33b35de72ba3 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8738,7 +8738,9 @@ in { seahub = callPackage ../development/python-modules/seahub { }; - seaserv = toPythonModule pkgs.seafile-server; + seaserv = toPythonModule (pkgs.seafile-server.override { + python3 = self.python; + }); seatconnect = callPackage ../development/python-modules/seatconnect { };