-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
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.myfitnesspal: fix build #101760
Conversation
f275d5d
to
bee76dd
Compare
bee76dd
to
702ce30
Compare
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.
This package has an entrypoint, which is basically an executable. It would therefore be appropriate to define it in all-packages.nix
using toPythonApplication
.
702ce30
to
58f14c5
Compare
Done 👍 (I used |
On Mon, Oct 26, 2020 at 07:44:25AM -0700, Ivar wrote:
> This package has an entrypoint, which is basically an executable. It would therefore be appropriate to define it in all-packages.nix using toPythonApplication.
Done :+1: (I used `python3Packages`, hope that is fine?)
Yep, that looks mighty fine.
… --
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#101760 (comment)
|
For some reason it can't import lxml.etree from the executable.
|
Getting the same error running from
If anyone would have any hits that would be much appreciated. Not sure if we can create a wrapper for the python env. |
I see the same, running |
Cool, I've added a TODO comment so the maintainer can fix this later. I'm personally not too invested in getting this to work, just wanted to get closer to ZHF :) |
58f14c5
to
7cea883
Compare
Result of 2 packages built:
|
Thanks for the fixes! |
Motivation for this change
Noticed this was broken on hydra, decided to fix.
ZHF: #97479
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)