NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.16k stars 14.19k forks source link

hwmixvolume in alsa-tools doesn't work. #228601

Open FavoritoHJS opened 1 year ago

FavoritoHJS commented 1 year ago

Describe the bug

Trying to run hwmixvolume results in import failures.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Install the alsa-tools package
  2. Try to run hwmixvolume
  3. ...
  4. ModuleNotFoundError: No module named 'gi'

Expected behavior

hwmixvolume to start and show a window.

Additional context

Seems like 2 dependencies are missing:

Notify maintainers

@AndersonTorres @fps

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.104, NixOS, 22.11 (Raccoon), 22.11.3339.da26ae9f6ce`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.11.1`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
AndersonTorres commented 1 year ago

This program relies on too old Python 2.x release and libraries.

Remember me disable it entirely.

FavoritoHJS commented 1 year ago

oh... no wonder it only showed a dialog in that case though apparently it can support both python 2 and python 3? see https://github.com/alsa-project/alsa-tools/commit/fb043847de869cf4d82049e2ac0937819fab78f5

AndersonTorres commented 1 year ago

Well, I can try later.