mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
rq: fix build on darwin
This commit is contained in:
parent
ae2bdf2c1b
commit
e4445d17dd
@ -1,4 +1,4 @@
|
||||
{ lib, fetchFromGitHub, rustPlatform, libiconv, llvmPackages, v8 }:
|
||||
{ stdenv, lib, fetchFromGitHub, rustPlatform, libiconv, llvmPackages, v8 }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "rq";
|
||||
@ -13,7 +13,8 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoSha256 = "0c5vwy3c5ji602dj64z6jqvcpi2xff03zvjbnwihb3ydqwnb3v67";
|
||||
|
||||
buildInputs = [ llvmPackages.clang-unwrapped v8 ];
|
||||
buildInputs = [ llvmPackages.clang-unwrapped v8 ]
|
||||
++ lib.optionals stdenv.isDarwin [ libiconv ];
|
||||
|
||||
configurePhase = ''
|
||||
export LIBCLANG_PATH="${llvmPackages.clang-unwrapped}/lib"
|
||||
|
Loading…
Reference in New Issue
Block a user