From b4e13e62572691805872f3ddb466af81b043d140 Mon Sep 17 00:00:00 2001 From: Johannes Frankenau Date: Wed, 14 Nov 2018 19:38:18 +0100 Subject: [PATCH] gurobi: install Java library files --- pkgs/applications/science/math/gurobi/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/applications/science/math/gurobi/default.nix b/pkgs/applications/science/math/gurobi/default.nix index 06d448f6252..d4a4133d06e 100644 --- a/pkgs/applications/science/math/gurobi/default.nix +++ b/pkgs/applications/science/math/gurobi/default.nix @@ -33,9 +33,15 @@ stdenv.mkDerivation rec { cp include/gurobi*.h $out/include/ mkdir -p $out/lib + cp lib/*.jar $out/lib/ + cp lib/libGurobiJni*.so $out/lib/ cp lib/libgurobi*.so* $out/lib/ cp lib/libgurobi*.a $out/lib/ cp src/build/*.a $out/lib/ + + mkdir -p $out/share/java + ln -s $out/lib/gurobi.jar $out/share/java/ + ln -s $out/lib/gurobi-javadoc.jar $out/share/java/ ''; meta = with stdenv.lib; {