darwin.openwith: remove apple_sdk.frameworks (#354766)

This commit is contained in:
Theodore Ni
2024-11-09 14:49:46 -08:00
committed by GitHub

View File

@@ -1,7 +1,7 @@
{ lib, swiftPackages, fetchFromGitHub }:
let
inherit (swiftPackages) apple_sdk stdenv swift;
inherit (swiftPackages) stdenv swift;
arch = if stdenv.hostPlatform.isAarch64 then "arm64" else "x86_64";
in
stdenv.mkDerivation rec {
@@ -17,8 +17,6 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ swift ];
buildInputs = with apple_sdk.frameworks; [ AppKit Foundation UniformTypeIdentifiers ];
makeFlags = [ "openwith_${arch}" ];
installPhase = ''