git.iko.soy/typeable/nixpkgs
on master help sign in
cargo-about: fix darwin build
commite3fe2937a552a4c96aecd7f9257e48ae0d25bd15 authorStéphan Kochen <git@stephank.nl> dateTue 11 May 2021, 10:05 (6 years ago) parentb522731
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";