diff options
author | Robert Scott <code@humanleg.org.uk> | 2024-02-07 19:45:27 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-07 19:45:27 +0000 |
commit | 005f312ae9d7997afc0a4da8684614af1c480d85 (patch) | |
tree | df2bcac9ce8777be13946528a04ae718251a06c1 /pkgs/applications/science/electronics/hal-hardware-analyzer | |
parent | 3a7268f1907c325a2fd3326eb69a508d0192b40b (diff) | |
parent | a9efe8b6357cde039aea10bd4d0473f07ebbbb35 (diff) |
Merge pull request #286257 from risicle/ris-hal-hardware-analyzer-darwin-2024-02
hal-hardware-analyzer: fix build on darwin
Diffstat (limited to 'pkgs/applications/science/electronics/hal-hardware-analyzer')
-rw-r--r-- | pkgs/applications/science/electronics/hal-hardware-analyzer/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/applications/science/electronics/hal-hardware-analyzer/default.nix b/pkgs/applications/science/electronics/hal-hardware-analyzer/default.nix index 13a1ceba3cda2..6bdc197269cc7 100644 --- a/pkgs/applications/science/electronics/hal-hardware-analyzer/default.nix +++ b/pkgs/applications/science/electronics/hal-hardware-analyzer/default.nix @@ -44,6 +44,11 @@ let --replace "igraph_scg_grouping3" "" \ --replace "igraph_scg_semiprojectors2" "" ''; + NIX_CFLAGS_COMPILE = (prev.NIX_CFLAGS_COMPILE or []) ++ lib.optionals stdenv.cc.isClang [ + "-Wno-strict-prototypes" + "-Wno-unused-but-set-parameter" + "-Wno-unused-but-set-variable" + ]; # general options brought back from the old 0.9.x package buildInputs = prev.buildInputs ++ [ suitesparse ]; cmakeFlags = prev.cmakeFlags ++ [ "-DIGRAPH_USE_INTERNAL_CXSPARSE=OFF" ]; @@ -138,7 +143,6 @@ in stdenv.mkDerivation rec { ''; meta = with lib; { - broken = stdenv.isDarwin; description = "A comprehensive reverse engineering and manipulation framework for gate-level netlists"; homepage = "https://github.com/emsec/hal"; license = licenses.mit; |