Merge pull request #115790 from midchildan/fix/fselect-darwin
fselect: fix darwin build
This commit is contained in:
commit
d211397507
@ -1,4 +1,4 @@
|
|||||||
{ lib, fetchFromGitHub, rustPlatform, installShellFiles }:
|
{ lib, stdenv, fetchFromGitHub, rustPlatform, installShellFiles, libiconv }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "fselect";
|
pname = "fselect";
|
||||||
@ -14,6 +14,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
cargoSha256 = "sha256-vVIanMkc0sPzu0L48oOh8wEEUOckR/AYkz81u4OR+fE=";
|
cargoSha256 = "sha256-vVIanMkc0sPzu0L48oOh8wEEUOckR/AYkz81u4OR+fE=";
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
buildInputs = lib.optional stdenv.isDarwin libiconv;
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
installManPage docs/fselect.1
|
installManPage docs/fselect.1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user