mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-25 14:48:25 +03:00
Fix nlopt build.
This commit is contained in:
parent
6372599c4e
commit
6c8fbed541
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user