From b054d170785fceabcf4fef592dbb82914d78f03c Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Sat, 11 May 2024 12:21:50 +0200 Subject: [PATCH] pipewire: fix cross to executable host ffado uses wrapQtAppsHook in nativeBuildInputs, but and wrapQtAppsHook depends on qtsvg, but buildPackages.qt5.qtsvg doesn't build when cross compiling. So even in the canExecute case, we can't do this. Link: https://github.com/NixOS/nixpkgs/issues/269756 --- pkgs/development/libraries/pipewire/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/pipewire/default.nix b/pkgs/development/libraries/pipewire/default.nix index 48f2dec6b89bc..77784d5b0edd6 100644 --- a/pkgs/development/libraries/pipewire/default.nix +++ b/pkgs/development/libraries/pipewire/default.nix @@ -66,7 +66,7 @@ , xorg , mysofaSupport ? true , libmysofa -, ffadoSupport ? x11Support && stdenv.buildPlatform.canExecute stdenv.hostPlatform +, ffadoSupport ? x11Support && lib.systems.equals stdenv.buildPlatform stdenv.hostPlatform , ffado , libselinux }: