3
0
Fork 0
forked from mirrors/nixpkgs

pulseaudio: Add a flag for supporting 32-bit

This commit is contained in:
William A. Kennington III 2015-06-10 11:48:52 -07:00
parent a398088ec6
commit aece1407d5

View file

@ -12,7 +12,7 @@ let
# Forces 32bit pulseaudio and alsaPlugins to be built/supported for apps # Forces 32bit pulseaudio and alsaPlugins to be built/supported for apps
# using 32bit alsa on 64bit linux. # using 32bit alsa on 64bit linux.
enable32BitAlsaPlugins = stdenv.isx86_64 && (pkgs_i686.alsaLib != null && pkgs_i686.libpulseaudio != null); enable32BitAlsaPlugins = cfg.support32Bit && stdenv.isx86_64 && (pkgs_i686.alsaLib != null && pkgs_i686.libpulseaudio != null);
ids = config.ids; ids = config.ids;
@ -78,6 +78,12 @@ in {
''; '';
}; };
support32Bit = mkOption {
type = types.bool;
default = false;
description = "no";
};
configFile = mkOption { configFile = mkOption {
type = types.path; type = types.path;
description = '' description = ''