3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #167244 from siraben/nlopt-darwin

This commit is contained in:
Ben Siraphob 2022-04-04 19:34:30 -05:00 committed by GitHub
commit 6e4bac759c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, cmake, octave ? null }: { lib, stdenv, fetchFromGitHub, cmake, octave ? null, libiconv }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "nlopt"; pname = "nlopt";
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-TgieCX7yUdTAEblzXY/gCN0r6F9TVDh4RdNDjQdXZ1o="; sha256 = "sha256-TgieCX7yUdTAEblzXY/gCN0r6F9TVDh4RdNDjQdXZ1o=";
}; };
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ] ++ lib.optionals stdenv.isDarwin [ libiconv ];
buildInputs = [ octave ]; buildInputs = [ octave ];
configureFlags = [ configureFlags = [