mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
Merge pull request #123081 from stephank/fix-elan-darwin
elan: fix darwin build
This commit is contained in:
commit
838e396944
@ -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" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user