diff --git a/pkgs/applications/misc/joshuto/default.nix b/pkgs/applications/misc/joshuto/default.nix index 32018d7151db..024334aca506 100644 --- a/pkgs/applications/misc/joshuto/default.nix +++ b/pkgs/applications/misc/joshuto/default.nix @@ -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"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1314ab454014..cb538a07b8c3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { };