diff options
author | Peter Simons <simons@cryp.to> | 2017-03-06 10:25:56 +0100 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2017-03-07 14:56:46 +0100 |
commit | e7b68767a88c53233a487f2b816c01710e0933ea (patch) | |
tree | 1fa666d1fce5afd1966455ce0eb4b61d9af02b5f /pkgs/development/libraries/nlopt | |
parent | c5563b48baabe42ee21c840997d2405888e3f65a (diff) | |
download | nixlib-e7b68767a88c53233a487f2b816c01710e0933ea.tar nixlib-e7b68767a88c53233a487f2b816c01710e0933ea.tar.gz nixlib-e7b68767a88c53233a487f2b816c01710e0933ea.tar.bz2 nixlib-e7b68767a88c53233a487f2b816c01710e0933ea.tar.lz nixlib-e7b68767a88c53233a487f2b816c01710e0933ea.tar.xz nixlib-e7b68767a88c53233a487f2b816c01710e0933ea.tar.zst nixlib-e7b68767a88c53233a487f2b816c01710e0933ea.zip |
nlopt: rescue build by dropping support for Octave
Diffstat (limited to 'pkgs/development/libraries/nlopt')
-rw-r--r-- | pkgs/development/libraries/nlopt/default.nix | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/pkgs/development/libraries/nlopt/default.nix b/pkgs/development/libraries/nlopt/default.nix index 4e3db9b0d401..7561f3b322b5 100644 --- a/pkgs/development/libraries/nlopt/default.nix +++ b/pkgs/development/libraries/nlopt/default.nix @@ -16,16 +16,12 @@ stdenv.mkDerivation rec { "M_INSTALL_DIR=$(out)/${octave.sitePath}/m " + "OCT_INSTALL_DIR=$(out)/${octave.sitePath}/oct "); - preConfigure = '' - find octave -name '*.cc' | xargs sed -i 's|Octave_map|octave_map|g' - ''; - meta = { homepage = "http://ab-initio.mit.edu/nlopt/"; description = "Free open-source library for nonlinear optimization"; license = stdenv.lib.licenses.lgpl21Plus; hydraPlatforms = stdenv.lib.platforms.linux; - broken = true; # cannot cope with Octave 4.x + broken = (octave != null); # cannot cope with Octave 4.x }; } |