mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
joshuto: fix build for darwin x86_64
This commit is contained in:
parent
03c48beada
commit
820b68102e
@ -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 New Issue
Block a user