From adf29eeeb6dcaf35202850edda9128eae0563287 Mon Sep 17 00:00:00 2001 From: Jared Baur Date: Sat, 28 Dec 2024 10:54:38 -0700 Subject: [PATCH] tayga: fix building with gcc14 Sources for tayga haven't been updated since 2011, therefore it's probably more reasonable to disable these errors during compilation rather than patching. --- pkgs/by-name/ta/tayga/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/ta/tayga/package.nix b/pkgs/by-name/ta/tayga/package.nix index f53491664732..4749fcee5042 100644 --- a/pkgs/by-name/ta/tayga/package.nix +++ b/pkgs/by-name/ta/tayga/package.nix @@ -14,6 +14,11 @@ stdenv.mkDerivation rec { hash = "sha256-Kx95J6nS3P+Qla/zwnGSSwUsz9L6ypWIsndDGkTwAJw="; }; + env.NIX_CFLAGS_COMPILE = toString [ + "-Wno-address-of-packed-member" + "-Wno-implicit-function-declaration" + ]; + passthru.tests.tayga = nixosTests.tayga; meta = with lib; {