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

cargo-about: fix darwin build

commit188a70bde5f81fa9b477141323119c5e27d9bf9c authorJörg Thalheim <Mic92@users.noreply.github.com> dateTue 11 May 2021, 09:10 (6 years ago) parent33a4c43e3fe293
1 file changed+3−1
pkgs/tools/package-management/cargo-about/default.nix+3−1
pkgs/tools/package-management/cargo-about/default.nix+3−1
@@ -1,4 +1,4 @@
1−{ lib, rustPlatform, fetchFromGitHub }:
1+{ lib, rustPlatform, fetchFromGitHub, stdenv, libiconv }:
22rustPlatform.buildRustPackage rec {
33 pname = "cargo-about";
44 version = "0.3.0";
@@ -12,6 +12,8 @@ rustPlatform.buildRustPackage rec {
1212
1313 cargoSha256 = "sha256-NdzgIB6uXMtGiLwOACEIeAb4iv7mYLnwRte3M/TkSMA=";
1414
15+ buildInputs = lib.optional stdenv.isDarwin libiconv;
16+
1517 meta = with lib; {
1618 description = "Cargo plugin to generate list of all licenses for a crate";
1719 homepage = "https://github.com/EmbarkStudios/cargo-about";