summary refs log tree commit diff
path: root/nixos/modules/config/pulseaudio.nix
diff options
context:
space:
mode:
authorLuca Bruno <lucabru@src.gnome.org>2015-03-18 14:06:09 +0000
committerLuca Bruno <lucabru@src.gnome.org>2015-03-18 14:10:02 +0000
commitb94b08488f06a6ed4ebef88e74d9b3c5bfce04bc (patch)
treec4eb464fdc3e3b6fc306513fe08010258066e70d /nixos/modules/config/pulseaudio.nix
parentcb45b7ec3e94fc5e19c319e43bf28319714a50f1 (diff)
downloadnixpkgs-b94b08488f06a6ed4ebef88e74d9b3c5bfce04bc.tar
nixpkgs-b94b08488f06a6ed4ebef88e74d9b3c5bfce04bc.tar.gz
nixpkgs-b94b08488f06a6ed4ebef88e74d9b3c5bfce04bc.tar.bz2
nixpkgs-b94b08488f06a6ed4ebef88e74d9b3c5bfce04bc.tar.lz
nixpkgs-b94b08488f06a6ed4ebef88e74d9b3c5bfce04bc.tar.xz
nixpkgs-b94b08488f06a6ed4ebef88e74d9b3c5bfce04bc.tar.zst
nixpkgs-b94b08488f06a6ed4ebef88e74d9b3c5bfce04bc.zip
nixos/pulseaudio: don't put 32bit libs in systemPackages
Fixes the useless collisions in the system path.
The 64bit and 32bit variants have the same files, hence
it's pointless to put the 32bit pulseaudio in systemPackages.
Diffstat (limited to 'nixos/modules/config/pulseaudio.nix')
-rw-r--r--nixos/modules/config/pulseaudio.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/nixos/modules/config/pulseaudio.nix b/nixos/modules/config/pulseaudio.nix
index 8b38489a8c1..c41e4ea604d 100644
--- a/nixos/modules/config/pulseaudio.nix
+++ b/nixos/modules/config/pulseaudio.nix
@@ -124,9 +124,7 @@ in {
     }
 
     (mkIf cfg.enable {
-      environment.systemPackages = [
-        cfg.package
-      ] ++ lib.optionals enable32BitAlsaPlugins [ pkgs_i686.pulseaudio ];
+      environment.systemPackages = [ cfg.package ];
 
       environment.etc = singleton {
         target = "asound.conf";