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