diff options
author | Stéphan Kochen <git@stephank.nl> | 2021-05-15 23:06:04 +0200 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2021-05-16 14:21:57 -0700 |
commit | de658376785cf7120957f8adeeb70855ef405e6b (patch) | |
tree | 203ef8fc07ef25bf133b44aa1293a24924a46317 /pkgs/tools/system/gptman | |
parent | 454df730b638d051e157b61950b328b389451589 (diff) |
gptman: fix darwin build
Diffstat (limited to 'pkgs/tools/system/gptman')
-rw-r--r-- | pkgs/tools/system/gptman/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/tools/system/gptman/default.nix b/pkgs/tools/system/gptman/default.nix index 5209856edeb02..648b68bcbc4c2 100644 --- a/pkgs/tools/system/gptman/default.nix +++ b/pkgs/tools/system/gptman/default.nix @@ -1,4 +1,4 @@ -{ lib, fetchFromGitHub, rustPlatform }: +{ lib, stdenv, fetchFromGitHub, rustPlatform, libiconv }: rustPlatform.buildRustPackage rec { pname = "gptman"; @@ -13,6 +13,8 @@ rustPlatform.buildRustPackage rec { cargoSha256 = "1cp8cyrd7ab8r2j28b69c2p3ysix5b9hpsqk07cmzgqwwml0qj12"; + buildInputs = lib.optional stdenv.isDarwin libiconv; + meta = with lib; { description = "A CLI tool for Linux to copy a partition from one disk to another and more."; homepage = "https://github.com/cecton/gptman"; |