From c882d1ad3dd01886322529eb7a76138ebbdfee91 Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Sun, 21 Jan 2024 06:47:49 -0800 Subject: [PATCH] systemd: add -Wno-error=format-overflow if isPower Required in order to get the NixOS installer to build again. --- pkgs/os-specific/linux/systemd/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix index 39ec1a6eac176..4877c880a88b0 100644 --- a/pkgs/os-specific/linux/systemd/default.nix +++ b/pkgs/os-specific/linux/systemd/default.nix @@ -707,6 +707,8 @@ stdenv.mkDerivation (finalAttrs: { ] ++ lib.optionals stdenv.hostPlatform.isMusl [ "-D__UAPI_DEF_ETHHDR=0" + ] ++ lib.optionals stdenv.hostPlatform.isPower [ + "-Wno-error=format-overflow" ]); doCheck = false; # fails a bunch of tests