examples/rust-packaging: add iconv on darwin

This commit is contained in:
phaer 2024-06-28 21:13:46 +02:00
parent 72d2689551
commit 6ce06d44fb

View File

@ -10,7 +10,7 @@
];
deps = {nixpkgs, ...}: {
inherit (nixpkgs) fetchFromGitHub;
inherit (nixpkgs) fetchFromGitHub iconv;
};
name = lib.mkForce "ripgrep";
@ -25,6 +25,7 @@
rev = config.version;
sha256 = "sha256-udEh+Re2PeO3DnX4fQThsaT1Y3MBHFfrX5Q5EN2XrF0=";
};
buildInputs = lib.optionals config.deps.stdenv.isDarwin [config.deps.iconv];
};
rust-crane = {