Skip to content

Commit

Permalink
Merge pull request #172696 from totoroot/joshuto-fix-darwin-build
Browse files Browse the repository at this point in the history
joshuto: fix build for darwin x86_64
  • Loading branch information
figsoda authored May 12, 2022
2 parents b994add + 820b681 commit 6a52ba1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pkgs/applications/misc/joshuto/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, rustPlatform, fetchFromGitHub, stdenv, SystemConfiguration }:
{ lib, rustPlatform, fetchFromGitHub, stdenv, SystemConfiguration, Foundation }:

rustPlatform.buildRustPackage rec {
pname = "joshuto";
Expand All @@ -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";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down

0 comments on commit 6a52ba1

Please sign in to comment.