about summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2021-04-24 07:10:32 +0100
committerGitHub <noreply@github.com>2021-04-24 07:10:32 +0100
commit5cecebfb2f76da7b93f19967e99b3ff4fb4d2850 (patch)
treef080f375e01cc4508bb8627e5c38f9eac01df3ea /pkgs/development
parent276cb2ad232cdb1bd4f2840051deb964655d9317 (diff)
parent0fffe0ed7ebba191780cc94aa5e16014adf57910 (diff)
Merge pull request #120484 from austinbutler/fix-just-darwin
just: fix Darwin build
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/tools/just/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/tools/just/default.nix b/pkgs/development/tools/just/default.nix
index c6863d535dd96..5b3f966399f92 100644
--- a/pkgs/development/tools/just/default.nix
+++ b/pkgs/development/tools/just/default.nix
@@ -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