Merge pull request #115790 from midchildan/fix/fselect-darwin

fselect: fix darwin build
This commit is contained in:
Oleksii Filonenko
2021-03-11 09:51:33 +02:00
committed by GitHub

View File

@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, rustPlatform, installShellFiles }:
{ lib, stdenv, fetchFromGitHub, rustPlatform, installShellFiles, libiconv }:
rustPlatform.buildRustPackage rec {
pname = "fselect";
@@ -14,6 +14,7 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "sha256-vVIanMkc0sPzu0L48oOh8wEEUOckR/AYkz81u4OR+fE=";
nativeBuildInputs = [ installShellFiles ];
buildInputs = lib.optional stdenv.isDarwin libiconv;
postInstall = ''
installManPage docs/fselect.1