diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-02-11 10:01:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-11 10:01:24 +0100 |
commit | 5c6ed98a1ea0e5d9d79e4909a4fc86a1aa66101c (patch) | |
tree | ff936894f64495d77d5e9a247a2ef288725cdcf2 /pkgs | |
parent | fa2bddd807807eb7217f4d63d057b6530683838d (diff) | |
parent | 51f387beffc5cb9a37d2b5cb3d25ea9594e5525e (diff) |
Merge pull request #215782 from wegank/nushell-darwin
nushell: fix build on x86_64-darwin
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/shells/nushell/default.nix | 2 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/shells/nushell/default.nix b/pkgs/shells/nushell/default.nix index 2f89521f934b8..2264f0abd8923 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 afec35a3a8352..1b0cd5b8d110a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -26231,8 +26231,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; }; |