From aa05b55564c5bce55cd1e2f548af79b7445f9b82 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Fri, 22 Nov 2024 17:25:20 -0500 Subject: [PATCH] eza: use new darwin sdk pattern --- pkgs/by-name/ez/eza/package.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pkgs/by-name/ez/eza/package.nix b/pkgs/by-name/ez/eza/package.nix index 9c2c21a52044..1bdd3e5fdae2 100644 --- a/pkgs/by-name/ez/eza/package.nix +++ b/pkgs/by-name/ez/eza/package.nix @@ -1,14 +1,11 @@ { lib , gitSupport ? true -, stdenv , fetchFromGitHub , rustPlatform , cmake , pandoc , pkg-config , zlib -, darwin -, libiconv , installShellFiles # once eza upstream gets support for setting up a compatibility symlink for exa, we should change # the handling here from postInstall to passing the required argument to the builder. @@ -29,8 +26,7 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-fXrw753Hn4fbeX6+GRoH9MKrH0udjxnBK7AVCHnqIcs="; nativeBuildInputs = [ cmake pkg-config installShellFiles pandoc ]; - buildInputs = [ zlib ] - ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv darwin.apple_sdk.frameworks.Security ]; + buildInputs = [ zlib ]; buildNoDefaultFeatures = true; buildFeatures = lib.optional gitSupport "git";