code-minimap: fix darwin build (#123031)
This commit is contained in:
parent
bb24db68aa
commit
6b666af734
@ -1,6 +1,8 @@
|
|||||||
{ lib
|
{ lib
|
||||||
|
, stdenv
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, libiconv
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
@ -16,6 +18,8 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
cargoSha256 = "sha256-87aRZC4OE3UTVToHi5XDBxVqEH4oFeFR4REf69OBkIw=";
|
cargoSha256 = "sha256-87aRZC4OE3UTVToHi5XDBxVqEH4oFeFR4REf69OBkIw=";
|
||||||
|
|
||||||
|
buildInputs = lib.optional stdenv.isDarwin libiconv;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A high performance code minimap render";
|
description = "A high performance code minimap render";
|
||||||
homepage = "https://github.com/wfxr/code-minimap";
|
homepage = "https://github.com/wfxr/code-minimap";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user