Fix nlopt build.

This commit is contained in:
Rob Vermaas 2016-04-27 09:22:45 +00:00
parent 6372599c4e
commit 6c8fbed541

View File

@ -16,6 +16,10 @@ 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";