Skip to content

Commit

Permalink
or-tools: add darwin support
Browse files Browse the repository at this point in the history
  • Loading branch information
sdedovic committed Nov 14, 2022
1 parent 2741fd8 commit a9f7dd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/development/libraries/science/math/or-tools/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
"-DFETCH_PYTHON_DEPS=OFF"
"-DUSE_GLPK=ON"
"-DUSE_SCIP=OFF"
];
] ++ lib.optionals stdenv.isDarwin [ "-DCMAKE_MACOSX_RPATH=OFF" ];
nativeBuildInputs = [
cmake
ensureNewerSourcesForZipFilesHook
Expand Down Expand Up @@ -104,6 +104,6 @@ stdenv.mkDerivation rec {
Google's software suite for combinatorial optimization.
'';
maintainers = with maintainers; [ andersk ];
platforms = with platforms; linux;
platforms = with platforms; linux ++ darwin;
};
}

0 comments on commit a9f7dd9

Please sign in to comment.