Open ahydronous opened 1 month ago
I'll have a look at this later this week, @ahydronous. I'm not quite sure what exactly the update-fw.py
script does (which firmware versions are updated to which, etc.) and for which systems it is needed (or whether it figures this out automatically?).
The update update-fw.py
script is actually currently not part of nixpkgs' libfprint-2-tod1-broadcom
driver package (also not of the Arch Linux package, which I used in parts for reference). But if some systems require a firmware update for the driver to work properly, it should probably be provided (maybe as an extra package?).
I'll update this thread when I had time to take a closer look.
You need to wrap the script.
Yep, sorry, I must admit I got sidetracked and didn't look into this yet. I will try to wrap the script later this week and add it to the driver package for now.
@ahydronous (and maybe @Artturin?): Would you be willing to test the wrapped script, once I added it to the driver package? Not sure that I can test it well myself, since my chipset seems not to need the firmware update.
I don't have this HW
You can wrap it by installing the script in to $out/bin
(Preferably with a more descriptive name)
Adding wrapGAppsNoGuiHook
and python3Packages.wrapPython
to nativeBuildInputs
Adding glib
to buildInputs
dontWrapGApps = true
Using the preFixup
and postFixup
from this example For how to wrap it see https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/networking/networkd-dispatcher/default.nix
Describe the bug
The script
update-fw.py
errors out withThis is also visible in
journalctl -u fprintd
Installing
glib
, the error becomesFound this issue, followed its example: https://github.com/NixOS/nixpkgs/issues/310205 (the problem is also refered to here , its apparently been since 24.05) Installed
gobject-introspection
,wrapGAppsHook3
andpython3Packages.wrapPython
to mysystemPackages
, still the same error.Notify maintainers
@pitkling
Add a :+1: reaction to issues you find important.