From cd001748be2f06d7bac20e7c525f54adf04b8073 Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Tue, 5 Apr 2022 20:28:41 -0500 Subject: [PATCH] swayidle: fix printf for i686 --- pkgs/applications/window-managers/sway/idle.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/window-managers/sway/idle.nix b/pkgs/applications/window-managers/sway/idle.nix index 0928fbcfb4ef..da23386d41ce 100644 --- a/pkgs/applications/window-managers/sway/idle.nix +++ b/pkgs/applications/window-managers/sway/idle.nix @@ -21,6 +21,8 @@ stdenv.mkDerivation rec { mesonFlags = [ "-Dman-pages=enabled" "-Dlogind=${if systemdSupport then "enabled" else "disabled"}" ]; + postPatch = "substituteInPlace main.c --replace '%lu' '%zu'"; + meta = with lib; { description = "Idle management daemon for Wayland"; longDescription = ''