cplex: move defaults to package file

This commit is contained in:
Jan Malakhovski 2019-02-03 15:30:47 +00:00
parent f37effbc99
commit 88ca6dd78a
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, makeWrapper, openjdk, gtk2, xorg, glibcLocales, releasePath }:
{ stdenv, makeWrapper, openjdk, gtk2, xorg, glibcLocales, releasePath ? null }:
# To use this package, you need to download your own cplex installer from IBM
# and override the releasePath attribute to point to the location of the file.

View file

@ -1156,7 +1156,7 @@ in
coprthr = callPackage ../development/libraries/coprthr { };
cplex = callPackage ../applications/science/math/cplex { releasePath = config.cplex.releasePath or null; };
cplex = callPackage ../applications/science/math/cplex (config.cplex or {});
cpulimit = callPackage ../tools/misc/cpulimit { };