git.iko.soy/typeable/nixpkgs
on master help sign in
elan: fix darwin build
commitacf640be7b2da046203a693845798aa5f1d11b1b authorStéphan Kochen <git@stephank.nl> dateSat 15 May 2021, 12:02 (6 years ago) parent3d385c7
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