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
libtorrent = (python3.pkgs.toPythonModule (
libtorrent-rasterbar-1_2_x.override { python = python3; })).python;
libtorrent = (python3.pkgs.toPythonModule (libtorrent-rasterbar-1_2_x)).python;
in
stdenv.mkDerivation rec {
pname = "tribler";

View file

@ -6249,7 +6249,7 @@ with pkgs;
ddrutility = callPackage ../tools/system/ddrutility { };
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
deluged
@ -21113,7 +21113,7 @@ with pkgs;
libtorrent-rasterbar-1_2_x = callPackage ../development/libraries/libtorrent-rasterbar/1.2.nix {
inherit (darwin.apple_sdk.frameworks) SystemConfiguration;
python = python2;
python = python3;
};
libtorrent-rasterbar = libtorrent-rasterbar-2_0_x;