joshuto: fix build for darwin x86_64
This commit is contained in:
parent
03c48beada
commit
820b68102e
2 changed files with 3 additions and 3 deletions
|
@ -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";
|
||||
|
|
|
@ -7327,7 +7327,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 { };
|
||||
|
|
Loading…
Reference in a new issue