Merge pull request #120484 from austinbutler/fix-just-darwin

just: fix Darwin build
This commit is contained in:
Jörg Thalheim 2021-04-24 07:10:32 +01:00 committed by GitHub
commit 5cecebfb2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, rustPlatform, coreutils, bash, installShellFiles }:
{ lib, fetchFromGitHub, stdenv, rustPlatform, coreutils, bash, installShellFiles, libiconv }:
rustPlatform.buildRustPackage rec {
pname = "just";
@ -14,6 +14,7 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "sha256-YDIGZRbszhgWM7iAc2i89jyndZvZZsg63ADQfqFxfXw=";
nativeBuildInputs = [ installShellFiles ];
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
postInstall = ''
installManPage man/just.1