darwin.openwith: remove apple_sdk.frameworks

the apple sdk is now propagated by swift
This commit is contained in:
zowoq 2024-10-13 08:54:23 +10:00
parent a03b74b30b
commit a50d729572

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 = ''