libtorrent-rasterbar-1_2_x: use python3 by default

All packages that depend on it are already overriding the default python
to python3 in all-packages.nix. Let's just make it the default instead.
This commit is contained in:
Thiago Kenji Okada 2022-12-01 22:46:16 +00:00
parent 831b9b4c36
commit 9f05b9d634
2 changed files with 3 additions and 4 deletions

View file

@ -8,8 +8,7 @@
}: }:
let let
libtorrent = (python3.pkgs.toPythonModule ( libtorrent = (python3.pkgs.toPythonModule (libtorrent-rasterbar-1_2_x)).python;
libtorrent-rasterbar-1_2_x.override { python = python3; })).python;
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "tribler"; pname = "tribler";

View file

@ -6249,7 +6249,7 @@ with pkgs;
ddrutility = callPackage ../tools/system/ddrutility { }; ddrutility = callPackage ../tools/system/ddrutility { };
inherit (callPackages ../applications/networking/p2p/deluge { inherit (callPackages ../applications/networking/p2p/deluge {
libtorrent-rasterbar = libtorrent-rasterbar-1_2_x.override { python = python3; }; libtorrent-rasterbar = libtorrent-rasterbar-1_2_x;
}) })
deluge-gtk deluge-gtk
deluged deluged
@ -21113,7 +21113,7 @@ with pkgs;
libtorrent-rasterbar-1_2_x = callPackage ../development/libraries/libtorrent-rasterbar/1.2.nix { libtorrent-rasterbar-1_2_x = callPackage ../development/libraries/libtorrent-rasterbar/1.2.nix {
inherit (darwin.apple_sdk.frameworks) SystemConfiguration; inherit (darwin.apple_sdk.frameworks) SystemConfiguration;
python = python2; python = python3;
}; };
libtorrent-rasterbar = libtorrent-rasterbar-2_0_x; libtorrent-rasterbar = libtorrent-rasterbar-2_0_x;