mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 00:08:32 +01:00
Fix nlopt build.
This commit is contained in:
parent
6372599c4e
commit
6c8fbed541
1 changed files with 4 additions and 0 deletions
|
@ -16,6 +16,10 @@ stdenv.mkDerivation rec {
|
||||||
"M_INSTALL_DIR=$(out)/${octave.sitePath}/m " +
|
"M_INSTALL_DIR=$(out)/${octave.sitePath}/m " +
|
||||||
"OCT_INSTALL_DIR=$(out)/${octave.sitePath}/oct ");
|
"OCT_INSTALL_DIR=$(out)/${octave.sitePath}/oct ");
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
find octave -name '*.cc' | xargs sed -i 's|Octave_map|octave_map|g'
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://ab-initio.mit.edu/nlopt/";
|
homepage = "http://ab-initio.mit.edu/nlopt/";
|
||||||
description = "Free open-source library for nonlinear optimization";
|
description = "Free open-source library for nonlinear optimization";
|
||||||
|
|
Loading…
Reference in a new issue