git.iko.soy/typeable/nixpkgs
on master help sign in
cargo-feature: fix darwin build
commitd9fa8e811ed8f41f77f2d831361b5db286e91655 authorStéphan Kochen <git@stephank.nl> dateTue 11 May 2021, 10:17 (6 years ago) parent188a70b
1 file changed+3−1
pkgs/development/tools/rust/cargo-feature/default.nix+3−1
pkgs/development/tools/rust/cargo-feature/default.nix+3−1
@@ -1,4 +1,4 @@
1−{ lib, rustPlatform, fetchFromGitHub }:
1+{ lib, rustPlatform, fetchFromGitHub, stdenv, libiconv }:
22
33rustPlatform.buildRustPackage rec {
44 pname = "cargo-feature";
@@ -13,6 +13,8 @@ rustPlatform.buildRustPackage rec {
1313
1414 cargoSha256 = "0nvl5smibl81b826xcsrjx8p89lcfpj7wqdsvywnj7jd3p5ag03n";
1515
16+ buildInputs = lib.optional stdenv.isDarwin libiconv;
17+
1618 meta = with lib; {
1719 description = "Allows conveniently modify features of crate";
1820 homepage = "https://github.com/Riey/cargo-feature";