just: fix Darwin build
This commit is contained in:
parent
046923781b
commit
0fffe0ed7e
@ -1,4 +1,4 @@
|
|||||||
{ lib, fetchFromGitHub, rustPlatform, coreutils, bash, installShellFiles }:
|
{ lib, fetchFromGitHub, stdenv, rustPlatform, coreutils, bash, installShellFiles, libiconv }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "just";
|
pname = "just";
|
||||||
@ -14,6 +14,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
cargoSha256 = "sha256-YDIGZRbszhgWM7iAc2i89jyndZvZZsg63ADQfqFxfXw=";
|
cargoSha256 = "sha256-YDIGZRbszhgWM7iAc2i89jyndZvZZsg63ADQfqFxfXw=";
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
installManPage man/just.1
|
installManPage man/just.1
|
||||||
|
Loading…
Reference in New Issue
Block a user