(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:
10
flake.nix
10
flake.nix
@@ -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 "";
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user