Commit ee1454fc authored by Alexis Hildebrandt's avatar Alexis Hildebrandt
Browse files

or-tools: improve darwin build

parent dc2c1730
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
, bzip2
, cbc
, cmake
, DarwinTools # sw_vers
, eigen
, ensureNewerSourcesForZipFilesHook
, fetchFromGitHub
@@ -72,6 +73,8 @@ stdenv.mkDerivation rec {
    python.pythonOnBuildForHost
    swig4
    unzip
  ] ++ lib.optionals stdenv.isDarwin [
    DarwinTools
  ] ++ (with python.pythonOnBuildForHost.pkgs; [
    pip
    mypy-protobuf
+1 −0
Original line number Diff line number Diff line
@@ -38174,6 +38174,7 @@ with pkgs;
  osi = callPackage ../development/libraries/science/math/osi { };
  or-tools = callPackage ../development/libraries/science/math/or-tools {
    inherit (darwin) DarwinTools;
    stdenv = if stdenv.isDarwin then overrideSDK stdenv "11.0" else stdenv;
    python = python3;
    protobuf = protobuf_21;