From 5186e88eb34310fd066bc29683bbb50ee8b004a9 Mon Sep 17 00:00:00 2001 From: Artturin Date: Sat, 23 Oct 2021 22:57:57 +0300 Subject: [PATCH] sway: fix binfmt cross-compilation --- pkgs/applications/window-managers/sway/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/window-managers/sway/default.nix b/pkgs/applications/window-managers/sway/default.nix index fb0cb31fad57..8267c0573ea5 100644 --- a/pkgs/applications/window-managers/sway/default.nix +++ b/pkgs/applications/window-managers/sway/default.nix @@ -35,8 +35,14 @@ stdenv.mkDerivation rec { echo -e '\ninclude /etc/sway/config.d/*' >> config.in ''; + strictDeps = true; + + # Pkg-config binary for machine MachineChoice.BUILD not found. Giving up. + # has to be in both depsBuildBuild and nativeBuildInputs + depsBuildBuild = [ pkg-config scdoc ]; + nativeBuildInputs = [ - meson ninja pkg-config wayland-scanner scdoc + meson ninja pkg-config wayland-scanner ]; buildInputs = [