about summary refs log tree commit diff
path: root/pkgs/applications/science/electronics/hal-hardware-analyzer
diff options
context:
space:
mode:
authorRobert Scott <code@humanleg.org.uk>2024-02-03 21:29:44 +0000
committerRobert Scott <code@humanleg.org.uk>2024-02-03 21:29:44 +0000
commitce60e31cbd7561a73d6e0a431c196cc8298a47f6 (patch)
treeae27de685982b3c52645705e9091306a08dd1d42 /pkgs/applications/science/electronics/hal-hardware-analyzer
parente41ae367c36d491fe5f4180e8def06bdb7c02824 (diff)
hal-hardware-analyzer: fix build with gcc 13
Diffstat (limited to 'pkgs/applications/science/electronics/hal-hardware-analyzer')
-rw-r--r--pkgs/applications/science/electronics/hal-hardware-analyzer/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/science/electronics/hal-hardware-analyzer/default.nix b/pkgs/applications/science/electronics/hal-hardware-analyzer/default.nix
index 51e1011b8a2f0..13a1ceba3cda2 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