Merge pull request #172696 from totoroot/joshuto-fix-darwin-build

joshuto: fix build for darwin x86_64
This commit is contained in:
figsoda 2022-05-12 10:09:25 -04:00 committed by GitHub
commit 6a52ba189a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
{ lib, rustPlatform, fetchFromGitHub, stdenv, SystemConfiguration }:
{ lib, rustPlatform, fetchFromGitHub, stdenv, SystemConfiguration, Foundation }:
rustPlatform.buildRustPackage rec {
pname = "joshuto";
@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "sha256-vhTfAoAwDJ9BjhgUEkV2H+KAetJR1YqwaZ7suF6yMXA=";
buildInputs = lib.optional stdenv.isDarwin SystemConfiguration;
buildInputs = lib.optionals stdenv.isDarwin [ SystemConfiguration Foundation ];
meta = with lib; {
description = "Ranger-like terminal file manager written in Rust";

View File

@ -7329,7 +7329,7 @@ with pkgs;
jo = callPackage ../development/tools/jo { };
joshuto = callPackage ../applications/misc/joshuto {
inherit (darwin.apple_sdk.frameworks) SystemConfiguration;
inherit (darwin.apple_sdk.frameworks) SystemConfiguration Foundation;
};
jrnl = callPackage ../applications/misc/jrnl { };