[Nix-dev] Re: *** GMX Spamverdacht *** Re: alsaib patch 2snd part

Ludovic Courtès ludo at gnu.org
Tue Jan 5 15:09:45 CET 2010


Hi Marc,

Marc Weber <marco-oweber at gmx.de> writes:

> Problem: On x86_64 systems you use i686 Skype because there is no
> x86_64 version. Thus which plugins to export? i686 or x86_64 ?

How does your patch solve this?

> packageOverrides = pkgs: {
>   skype = alsaPluginWrapper (pkgs.skype);
> }

[...]

> So I introduced a pkgs2 which traverses pkgs applying a function
> which traverses all dependencies of a target. If a package is found
> which asks for wrapping executables the executable is wrapped.

I don’t think anything like that is needed: $ALSA_PLUGINS_DIR is read by
alsa-lib, which allows it to find ALSA plug-ins, even those installed in
the user environment.  That’s all we need, right?

(It’s the same pattern as $AC_LOCAL_PATH, $LOCALE_ARCHIVE, etc.)

On IRC I was talking about fixing ‘alsamixer’, ‘amixer’, etc. so that
they too would honor $ALSA_PLUGINS_DIR.  I don’t understand why they
don’t currently.

Thanks,
Ludo’.



More information about the nix-dev mailing list