diff options
author | Gabriel Ebner <gebner@gebner.org> | 2021-05-15 13:26:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-15 13:26:12 +0200 |
commit | 838e396944e3d9fe16faf155c6bf869f85f924d0 (patch) | |
tree | f879e13160e790a113d01389fe44389b38f8308b /pkgs | |
parent | 83d907fd760d9ee4f49b4b7e4b1c6682f137b573 (diff) | |
parent | acf640be7b2da046203a693845798aa5f1d11b1b (diff) |
Merge pull request #123081 from stephank/fix-elan-darwin
elan: fix darwin build
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/science/logic/elan/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/science/logic/elan/default.nix b/pkgs/applications/science/logic/elan/default.nix index 45a1345de86bf..d20be86daf0b3 100644 --- a/pkgs/applications/science/logic/elan/default.nix +++ b/pkgs/applications/science/logic/elan/default.nix @@ -1,5 +1,5 @@ { stdenv, lib, runCommand, patchelf, makeWrapper, pkg-config, curl -, openssl, gmp, zlib, fetchFromGitHub, rustPlatform }: +, openssl, gmp, zlib, fetchFromGitHub, rustPlatform, libiconv }: let libPath = lib.makeLibraryPath [ gmp ]; @@ -21,7 +21,8 @@ rustPlatform.buildRustPackage rec { nativeBuildInputs = [ pkg-config makeWrapper ]; OPENSSL_NO_VENDOR = 1; - buildInputs = [ curl zlib openssl ]; + buildInputs = [ curl zlib openssl ] + ++ lib.optional stdenv.isDarwin libiconv; cargoBuildFlags = [ "--features no-self-update" ]; |