about summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorAustin Butler <abutler@riotgames.com>2021-04-23 18:47:37 -0700
committerAustin Butler <abutler@riotgames.com>2021-04-23 18:47:37 -0700
commit0fffe0ed7ebba191780cc94aa5e16014adf57910 (patch)
treeba7430521bc42d34fbc3d97ec67cd0aef38de751 /pkgs/development
parent046923781b10efa6fa9123ede602e50a59428c03 (diff)
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