Merge pull request #122550 from stephank/fix-cargo-feature-darwin
cargo-feature: fix darwin build
This commit is contained in:
commit
31998088ec
1 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, rustPlatform, fetchFromGitHub }:
|
||||
{ lib, rustPlatform, fetchFromGitHub, stdenv, libiconv }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-feature";
|
||||
|
@ -13,6 +13,8 @@ rustPlatform.buildRustPackage rec {
|
|||
|
||||
cargoSha256 = "0nvl5smibl81b826xcsrjx8p89lcfpj7wqdsvywnj7jd3p5ag03n";
|
||||
|
||||
buildInputs = lib.optional stdenv.isDarwin libiconv;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Allows conveniently modify features of crate";
|
||||
homepage = "https://github.com/Riey/cargo-feature";
|
||||
|
|
Loading…
Reference in a new issue