gptman: fix darwin build

authored by Stéphan Kochen and committed by Jonathan Ringer de658376 454df730

+3 -1
+3 -1
pkgs/tools/system/gptman/default.nix
··· 1 - { lib, fetchFromGitHub, rustPlatform }: 1 + { lib, stdenv, fetchFromGitHub, rustPlatform, libiconv }: 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "gptman"; ··· 12 12 }; 13 13 14 14 cargoSha256 = "1cp8cyrd7ab8r2j28b69c2p3ysix5b9hpsqk07cmzgqwwml0qj12"; 15 + 16 + buildInputs = lib.optional stdenv.isDarwin libiconv; 15 17 16 18 meta = with lib; { 17 19 description = "A CLI tool for Linux to copy a partition from one disk to another and more.";