New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pythonPackages.yowsup: disable python2 build #31519
Conversation
I'll run |
|
@@ -1,10 +1,14 @@ | |||
{ buildPythonPackage, stdenv, fetchFromGitHub, six, python-axolotl, pytest }: | |||
{ buildPythonPackage, stdenv, fetchFromGitHub, six, python-axolotl, pytest | |||
, disabled |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't add it as parameter. Just add it directly to the call to buildPythonPackage
.
|
||
buildPythonPackage rec { | ||
name = "${pname}-${version}"; | ||
pname = "yowsup"; | ||
version = "2.5.2"; | ||
|
||
inherit disabled; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...and please add a reason for disabling a package.
I'm not exactly sure why, but it seems as the python2 build of yowsup is breaking. see tgalal/yowsup#2325 It seems to be recommended to use python3 for building and disable the usage of python2 which fixed the build.
@FRidh I linked the issue in a comment above the |
Motivation for this change
I'm not exactly sure why, but it seems as the python2 build
of yowsup is breaking.
see tgalal/yowsup#2325
It seems to be recommended to use python3 for building and disable
the usage of python2 which fixed the build.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)