code-minimap: fix darwin build (#123031)
commit6b666af7340f68e872883af88f103a89e562d4b4
authorStéphan Kochen <git@stephank.nl>
dateFri 14 May 2021, 23:34 (6 years ago)
parentbb24db6
pkgs/tools/misc/code-minimap/default.nix+4
@@ -1,6 +1,8 @@
11{ lib
2+, stdenv
23, rustPlatform
34, fetchFromGitHub
5+, libiconv
46}:
57
68rustPlatform.buildRustPackage rec {
@@ -16,6 +18,8 @@ rustPlatform.buildRustPackage rec {
1618
1719 cargoSha256 = "sha256-87aRZC4OE3UTVToHi5XDBxVqEH4oFeFR4REf69OBkIw=";
1820
21+ buildInputs = lib.optional stdenv.isDarwin libiconv;
22+
1923 meta = with lib; {
2024 description = "A high performance code minimap render";
2125 homepage = "https://github.com/wfxr/code-minimap";