git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #122550 from stephank/fix-cargo-feature-darwin

cargo-feature: fix darwin build

commit31998088ec462c45447c630f9aeb6d852788f133 authorJörg Thalheim <Mic92@users.noreply.github.com> dateTue 11 May 2021, 09:47 (6 years ago) parent22011bdd9fa8e8
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";