diff options
Diffstat (limited to 'nixos/modules/services/audio/jack.nix')
-rw-r--r-- | nixos/modules/services/audio/jack.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/audio/jack.nix b/nixos/modules/services/audio/jack.nix index a5cb0da29592..767f1add1cae 100644 --- a/nixos/modules/services/audio/jack.nix +++ b/nixos/modules/services/audio/jack.nix @@ -8,7 +8,7 @@ let pcmPlugin = cfg.jackd.enable && cfg.alsa.enable; loopback = cfg.jackd.enable && cfg.loopback.enable; - enable32BitAlsaPlugins = cfg.alsa.support32Bit && pkgs.stdenv.isx86_64 && pkgs.pkgsi686Linux.alsa-lib != null; + enable32BitAlsaPlugins = cfg.alsa.support32Bit && pkgs.stdenv.hostPlatform.isx86_64 && pkgs.pkgsi686Linux.alsa-lib != null; umaskNeeded = versionOlder cfg.jackd.package.version "1.9.12"; bridgeNeeded = versionAtLeast cfg.jackd.package.version "1.9.12"; @@ -260,7 +260,7 @@ in { systemd.services.jack-session = { description = "JACK session"; script = '' - jack_wait -w + ${pkgs.jack-example-tools}/bin/jack_wait -w ${cfg.jackd.session} ${lib.optionalString cfg.loopback.enable cfg.loopback.session} ''; |