Merge pull request #123081 from stephank/fix-elan-darwin

elan: fix darwin build

authored by

Gabriel Ebner and committed by
GitHub
838e3969 83d907fd

+3 -2
+3 -2
pkgs/applications/science/logic/elan/default.nix
··· 1 { stdenv, lib, runCommand, patchelf, makeWrapper, pkg-config, curl 2 - , openssl, gmp, zlib, fetchFromGitHub, rustPlatform }: 3 4 let 5 libPath = lib.makeLibraryPath [ gmp ]; ··· 21 nativeBuildInputs = [ pkg-config makeWrapper ]; 22 23 OPENSSL_NO_VENDOR = 1; 24 - buildInputs = [ curl zlib openssl ]; 25 26 cargoBuildFlags = [ "--features no-self-update" ]; 27
··· 1 { stdenv, lib, runCommand, patchelf, makeWrapper, pkg-config, curl 2 + , openssl, gmp, zlib, fetchFromGitHub, rustPlatform, libiconv }: 3 4 let 5 libPath = lib.makeLibraryPath [ gmp ]; ··· 21 nativeBuildInputs = [ pkg-config makeWrapper ]; 22 23 OPENSSL_NO_VENDOR = 1; 24 + buildInputs = [ curl zlib openssl ] 25 + ++ lib.optional stdenv.isDarwin libiconv; 26 27 cargoBuildFlags = [ "--features no-self-update" ]; 28