Change:
A clear and concise description of what the bug is. The package doesn't include a folder. I am looking for a version of which includes the executable. Are we building the package incorrectly such that it doesn't include a binary? Any and all help/advice is much appreciated :bow: Steps to reproduce the behavior: output - notice there is no folder A clear and concise description of what you expected to happen. I want the executable. <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. -- might know something about this? :man_shrugging:
was the binary there before On a quick note: I have never used , so I am not familiar with the package. It seems that the package also needs an update:
It appears that the binary requires AMPL, a commercial package, which is not packaged in nixpkgs. See: https://coin-
ah, I understand. Thank you.

Discussion:
"OCT_INSTALL_DIR=$(out)/${octave.sitePath}/oct" ]; <ins> postFixup = '' substituteInPlace $out/lib/cmake/nlopt/NLoptLibraryDepends.cmake --replace  'INTERFACE_INCLUDE_DIRECTORIES "''${_IMPORT_PREFIX}/' 'INTERFACE_INCLUDE_DIRECTORIES "' ''; </ins> meta = { homepage = "https://nlopt.readthedocs.io/en/latest/"; description = "Free open-source library for nonlinear optimization";

, nlopt , ipopt , boost <ins> , tbb </ins> }: stdenv.mkDerivation rec { pname = "pagmo2"; <del> version = "2.9"; </del> <ins> version = "2.18.0"; </ins> src = fetchFromGitHub { owner = "esa"; repo = "pagmo2"; rev = "v${version}"; <del> sha256 = "0al2i59m5qr83wz5n5408zvys0b3mc40rszf0l5b9a0gp1axj400"; </del> <ins> sha256 = "0rd8scs4hj6qd8ylmn5hafncml2vr4fvcgm3agz3jrvmnc7hadrj"; </ins> }; nativeBuildInputs = [ cmake ]; <del> buildInputs = [ eigen nlopt ipopt boost ]; </del> <ins> buildInputs = [ eigen nlopt ipopt boost tbb ]; </ins> cmakeFlags = [ "-DPAGMO_BUILD_TESTS=no"

<del> { lib, stdenv, fetchurl, unzip, blas, lapack, gfortran }: </del> <ins> { lib , stdenv , fetchFromGitHub , pkg-config , blas , lapack , gfortran , enableAMPL ? stdenv.isLinux, libamplsolver }: </ins> assert (!blas.isILP64) && (!lapack.isILP64); stdenv.mkDerivation rec { pname = "ipopt"; <del> version = "3.12.13"; </del> <ins> version = "3.14.5"; </ins> <del> src = fetchurl { url = "https://www.coin-or.org/download/source/Ipopt/Ipopt-${version}.zip"; sha256 = "0kzf05aypx8q5mr3sciclk926ans0yi2d2chjdxxgpi3sza609dx"; </del> <ins> src = fetchFromGitHub { owner = "coin-or"; repo = "Ipopt"; rev = "releases/${version}"; sha256 = "sha256-eqOacZGuuGAjWMs2H6RntQ+WJmGTi+EqydHUQXEpY54="; </ins> }; CXXDEFS = [ "-DHAVE_RAND" "-DHAVE_CSTRING" "-DHAVE_CSTDIO" ]; configureFlags = [ <del> "--with-blas-lib=-lblas" "--with-lapack-lib=-llapack" </del> <ins> "--with-asl-cflags=-I${libamplsolver}/include" "--with-asl-lflags=-lamplsolver" </ins> ]; <del> nativeBuildInputs = [ unzip gfortran ]; buildInputs = [ blas lapack ]; </del> <ins> nativeBuildInputs = [ pkg-config gfortran ]; buildInputs = [ blas lapack ] ++ lib.optionals enableAMPL [ libamplsolver ]; </ins> enableParallelBuilding = true;

<ins> { lib, stdenv, fetchurl, fetchpatch }: stdenv.mkDerivation rec { pname = "libamplsolver"; version = "20211109"; src = fetchurl { url = "https://ampl.com/netlib/ampl/solvers.tgz"; sha256 = "sha256-LVmScuIvxmZzywPSBl9T9YcUBJP7UFAa3eWs9r4q3JM="; }; patches = [ # Debian provides a patch to build a shared library (fetchpatch { url = "https://sources.debian.org/data/main/liba/libamplsolver/0~20190702-2/debian/patches/fix-makefile-shared-lib.patch"; sha256 = "sha256-96qwj3fLugzbsfxguKMce13cUo7XGC4VUE7xKcJs42Y="; }) ]; installPhase = '' runHook preInstall pushd sys.`uname -m`.`uname -s` install -D -m 0644 *.h -t $out/include install -D -m 0644 *.so* -t $out/lib install -D -m 0644 *.a -t $out/lib popd runHook postInstall ''; meta = with lib; { description = "A library of routines that help solvers work with AMPL"; homepage = "https://ampl.com/netlib/ampl/"; license = [ licenses.mit ]; platforms = platforms.linux; maintainers = with maintainers; [ aanderse ]; }; } </ins>

{ lib <del> , buildPythonPackage </del> <ins> , stdenv , toPythonModule , fetchFromGitHub , cmake , boost </ins> , eigen <del> , nlopt </del> , ipopt <del> , boost </del> <ins> , nlopt </ins> , pagmo2 <del> , numpy </del> <ins> , python </ins> , cloudpickle , ipyparallel , numba <del> , python </del> <ins> , numpy , pybind11 </ins> }: <del> let propagatedBuildInputs = [ numpy cloudpickle ipyparallel numba ]; pagmo2WithPython = pagmo2.overrideAttrs (oldAttrs: { cmakeFlags = oldAttrs.cmakeFlags ++ [ "-DPAGMO_BUILD_PYGMO=yes" "-DPAGMO_BUILD_PAGMO=no" "-DPagmo_DIR=${pagmo2}" ]; buildInputs = [ eigen nlopt ipopt boost pagmo2 ] ++ propagatedBuildInputs; postInstall = '' mv wheel $out ''; }); in buildPythonPackage { </del> <ins> toPythonModule (stdenv.mkDerivation rec { </ins> pname = "pygmo"; <del> version = pagmo2WithPython.version; inherit propagatedBuildInputs; </del> <ins> version = "2.18.0"; </ins> <del> src = pagmo2WithPython; preBuild = '' mv ${python.sitePackages}/pygmo wheel cd wheel ''; </del> <ins> src = fetchFromGitHub { owner = "esa"; repo = "pygmo2"; rev = "v${version}"; sha256 = "sha256-he7gxRRJd6bBrD0Z0i+CQTr5JH4P3Im/beNGO+HfmNM="; }; </ins> <del> # dont do tests doCheck = false; </del> <ins> cmakeFlags = [ "-DPYGMO_INSTALL_PATH=${placeholder "out"}/lib/${python.libPrefix}/site-packages" ]; nativeBuildInputs = [ cmake ]; propagatedBuildInputs = [ cloudpickle ipyparallel numba numpy python ]; buildInputs = [ boost eigen ipopt nlopt pagmo2 pybind11 ]; doCheck = true; </ins> meta = with lib; { description = "Parallel optimisation for Python"; <del> homepage = "https://esa.github.io/pagmo2/"; </del> <ins> homepage = "https://github.com/esa/pygmo2"; </ins> license = licenses.gpl3Plus; maintainers = [ maintainers.costrouc ]; }; <del> } </del> <ins> }) </ins>

lapack-reference = callPackage ../development/libraries/science/math/liblapack { }; liblapack = lapack-reference; <ins> libamplsolver = callPackage ../development/libraries/science/math/libamplsolver { }; </ins> libbraiding = callPackage ../development/libraries/science/math/libbraiding { }; libhomfly = callPackage ../development/libraries/science/math/libhomfly { };