diff --git a/pkgs/shells/nushell/default.nix b/pkgs/shells/nushell/default.nix index 2f89521f934b..2264f0abd892 100644 --- a/pkgs/shells/nushell/default.nix +++ b/pkgs/shells/nushell/default.nix @@ -12,7 +12,6 @@ , xorg , libiconv , AppKit -, Foundation , Security # darwin.apple_sdk.sdk , sdk @@ -47,7 +46,6 @@ rustPlatform.buildRustPackage rec { buildInputs = [ openssl zstd ] ++ lib.optionals stdenv.isDarwin [ zlib libiconv Security ] ++ lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [ - Foundation ( # Pull a header that contains a definition of proc_pid_rusage(). # (We pick just that one because using the other headers from `sdk` is not diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5ca442444ac9..0a436b47e5bc 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -26203,8 +26203,8 @@ with pkgs; nsh = callPackage ../shells/nsh { }; - nushell = callPackage ../shells/nushell { - inherit (darwin.apple_sdk.frameworks) AppKit Foundation Security; + nushell = darwin.apple_sdk_11_0.callPackage ../shells/nushell { + inherit (darwin.apple_sdk_11_0.frameworks) AppKit Security; inherit (darwin.apple_sdk) sdk; };