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

just: fix Darwin build

authored by Jörg Thalheim and committed by GitHub 5cecebfb 276cb2ad

+2 -1
+2 -1
pkgs/development/tools/just/default.nix
··· 1 - { lib, fetchFromGitHub, rustPlatform, coreutils, bash, installShellFiles }: 2 3 rustPlatform.buildRustPackage rec { 4 pname = "just"; ··· 14 cargoSha256 = "sha256-YDIGZRbszhgWM7iAc2i89jyndZvZZsg63ADQfqFxfXw="; 15 16 nativeBuildInputs = [ installShellFiles ]; 17 18 postInstall = '' 19 installManPage man/just.1
··· 1 + { lib, fetchFromGitHub, stdenv, rustPlatform, coreutils, bash, installShellFiles, libiconv }: 2 3 rustPlatform.buildRustPackage rec { 4 pname = "just"; ··· 14 cargoSha256 = "sha256-YDIGZRbszhgWM7iAc2i89jyndZvZZsg63ADQfqFxfXw="; 15 16 nativeBuildInputs = [ installShellFiles ]; 17 + buildInputs = lib.optionals stdenv.isDarwin [ libiconv ]; 18 19 postInstall = '' 20 installManPage man/just.1