(flake) use alsa-lib-with-plugins (#77)

by following an idea from @camuward mentioned here https://github.com/143mailliw/muzak/pull/28#issuecomment-2833601152

Incl. another `nix flake update`.
This commit is contained in:
Jens Krause
2025-04-30 12:12:03 +02:00
committed by GitHub
parent e6291a3131
commit 509cf73cdd
2 changed files with 15 additions and 19 deletions

View File

@@ -88,16 +88,12 @@
# some extra pkgs needed to play sound on Linux
++ lib.optionals stdenv.isLinux [
pkgs.pkg-config
pkgs.alsa-lib.dev
pkgs.pipewire
(pkgs.alsa-lib-with-plugins.override {
plugins = [pkgs.alsa-plugins pkgs.pipewire];
})
];
inherit (commonArgs) src;
ALSA_PLUGIN_DIR =
if stdenv.isLinux
then "${pkgs.pipewire}/lib/alsa-lib/"
else "";
};
});
}