diff --git a/pkgs/applications/audio/snapcast/default.nix b/pkgs/applications/audio/snapcast/default.nix index 67733286cc53..b33c3ef9529a 100644 --- a/pkgs/applications/audio/snapcast/default.nix +++ b/pkgs/applications/audio/snapcast/default.nix @@ -58,6 +58,8 @@ stdenv.mkDerivation rec { TARGET = lib.optionalString stdenv.hostPlatform.isDarwin "MACOS"; + cmakeFlags = [ (lib.cmakeBool "BUILD_WITH_PULSE" pulseaudioSupport) ]; + # Upstream systemd unit files are pretty awful, so we provide our own in a # NixOS module. It might make sense to get that upstreamed... postInstall = ''