git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #123081 from stephank/fix-elan-darwin

elan: fix darwin build

commit838e396944e3d9fe16faf155c6bf869f85f924d0 authorGabriel Ebner <gebner@gebner.org> dateSat 15 May 2021, 13:26 (6 years ago) parent83d907facf640b
1 file changed+3−2
pkgs/applications/science/logic/elan/default.nix+3−2
pkgs/applications/science/logic/elan/default.nix+3−2
@@ -1,5 +1,5 @@
11{ stdenv, lib, runCommand, patchelf, makeWrapper, pkg-config, curl
2−, openssl, gmp, zlib, fetchFromGitHub, rustPlatform }:
2+, openssl, gmp, zlib, fetchFromGitHub, rustPlatform, libiconv }:
33
44let
55 libPath = lib.makeLibraryPath [ gmp ];
@@ -21,7 +21,8 @@ rustPlatform.buildRustPackage rec {
2121 nativeBuildInputs = [ pkg-config makeWrapper ];
2222
2323 OPENSSL_NO_VENDOR = 1;
24− buildInputs = [ curl zlib openssl ];
24+ buildInputs = [ curl zlib openssl ]
25+ ++ lib.optional stdenv.isDarwin libiconv;
2526
2627 cargoBuildFlags = [ "--features no-self-update" ];
2728