From ce60e31cbd7561a73d6e0a431c196cc8298a47f6 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Sat, 3 Feb 2024 21:29:44 +0000 Subject: hal-hardware-analyzer: fix build with gcc 13 --- .../science/electronics/hal-hardware-analyzer/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pkgs/applications/science') diff --git a/pkgs/applications/science/electronics/hal-hardware-analyzer/default.nix b/pkgs/applications/science/electronics/hal-hardware-analyzer/default.nix index 51e1011b8a2f..13a1ceba3cda 100644 --- a/pkgs/applications/science/electronics/hal-hardware-analyzer/default.nix +++ b/pkgs/applications/science/electronics/hal-hardware-analyzer/default.nix @@ -73,6 +73,12 @@ in stdenv.mkDerivation rec { url = "https://github.com/emsec/hal/commit/b639a56b303141afbf6731b70b7cc7452551f024.patch"; hash = "sha256-a7AyDEKkqdbiHpa4OHTRuP9Yewb3Nxs/j6bwez5m0yU="; }) + (fetchpatch { + name = "fix-gcc-13-build.patch"; + # https://github.com/emsec/hal/pull/557 + url = "https://github.com/emsec/hal/commit/831b1a7866aa9aabd55ff288c084862dc6a138d8.patch"; + hash = "sha256-kB/sJJtLGl5PUv+mmWVpee/okkJzp5HF0BCiCRCcTKw="; + }) ]; # make sure bundled dependencies don't get in the way - install also otherwise -- cgit 1.4.1