Merge pull request #286257 from risicle/ris-hal-hardware-analyzer-darwin-2024-02
hal-hardware-analyzer: fix build on darwin
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -9083,7 +9083,9 @@ with pkgs;
|
||||
|
||||
hatch = python3Packages.callPackage ../development/tools/hatch { };
|
||||
|
||||
hal-hardware-analyzer = libsForQt5.callPackage ../applications/science/electronics/hal-hardware-analyzer { };
|
||||
hal-hardware-analyzer = libsForQt5.callPackage ../applications/science/electronics/hal-hardware-analyzer {
|
||||
stdenv = if stdenv.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv;
|
||||
};
|
||||
|
||||
half = callPackage ../development/libraries/half { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user