weechat: build with python3 by default
WeeChat also supports Python3 for scripts which should be preferred as CPython2 is about to get EOLed soon: https://weechat.org/scripts/python3/
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, substituteAll, buildEnv, fetchFromGitHub, pythonPackages }:
|
||||
{ stdenv, substituteAll, buildEnv, fetchFromGitHub, python3Packages }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "wee-slack";
|
||||
@@ -16,8 +16,8 @@ stdenv.mkDerivation rec {
|
||||
src = ./libpath.patch;
|
||||
env = "${buildEnv {
|
||||
name = "wee-slack-env";
|
||||
paths = with pythonPackages; [ websocket_client six ];
|
||||
}}/${pythonPackages.python.sitePackages}";
|
||||
paths = with python3Packages; [ websocket_client six ];
|
||||
}}/${python3Packages.python.sitePackages}";
|
||||
})
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user