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
Fix orca and re-add liblouis #60175
Fix orca and re-add liblouis #60175
Conversation
Not sure what you mean by the dbus not working? Otherwise LGTM. Edit: you probably meant the at-spi-bus-launcher accessibility bus |
@@ -34,8 +34,8 @@ buildPythonApplication rec { | |||
]; | |||
|
|||
propagatedBuildInputs = [ | |||
# TODO: re-add liblouis when it is fixed | |||
pygobject3 pyatspi dbus-python pyxdg brltty speechd gst-python setproctitle | |||
gobject-introspection # Temporary fix, see https://github.com/NixOS/nixpkgs/issues/56943 |
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.
Any reason adding it to propagatedBuildInputs
and not buildInputs
? (in theory setting strictDeps = false;
should work, but I haven't had any luck with that)
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.
Yeah, we only need to propagate pythonDependencies
. And I think disabling strictDeps
is better than adding build time dependencies to buildInputs
and pretending strictDeps = true
works.
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.
I'm getting the same runtime error when having strictDeps = false;
though, no idea why. Seeing the same issue with guake
.
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.
Yay, I already managed to forgot it is not overridable from buildPythonPackage
#59187
We should probably fix that.
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.
Yeah, a ton of python packages have that same problem :/
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.
A fix allowing to use strictDeps = false;
is now on master. Please rebase and try that.
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.
Niceeeee!
Looks like |
That's why I split it into two commits :) |
Hmm, I am getting the following in console on Orca startup:
Probably unrelated. |
I've been seeing that a lot for python gtk applications. |
7060cff
to
9094451
Compare
Alright, works with |
nit: could you change the commit message to match what's being done (eg. set strictDeps = false). |
Wouldn't find the proper libraries/namespaces otherwise because of NixOS#56943
liblouis works again so we can use it here again aswell. Closes: NixOS#39427
9094451
to
5354020
Compare
Sure, had left it because it still kind of does that. But I see that that's confusing. |
I think that might be because gst-python doesn't have python as a |
Cherry-picked in b12b1e2 |
Motivation for this change
Orca was broken because of the
gobject-introspection
issue (56943). Adding it to thepropagatedBuildInputs
makes it runnable again. It can't connect to the d-bus but I guess that should work if you have your other braille tools set up properly.Also
libluois
was removed as a dependency because it had previously been broken - now it works again and we can use it as a dep here :)Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)