From 85036e32ff17b41099f7fbbe4d5a39c082032468 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Tue, 12 Nov 2024 22:04:05 -0800 Subject: [PATCH] afsctool: use new Darwin SDK pattern --- pkgs/tools/filesystems/afsctool/default.nix | 3 +-- pkgs/top-level/all-packages.nix | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/filesystems/afsctool/default.nix b/pkgs/tools/filesystems/afsctool/default.nix index 92fe70c5a523..f0d8f0ba7af0 100644 --- a/pkgs/tools/filesystems/afsctool/default.nix +++ b/pkgs/tools/filesystems/afsctool/default.nix @@ -6,7 +6,6 @@ , git , zlib , sparsehash -, CoreServices }: stdenv.mkDerivation rec { @@ -21,7 +20,7 @@ stdenv.mkDerivation rec { }; nativeBuildInputs = [ pkg-config cmake git ]; - buildInputs = [ zlib sparsehash CoreServices ]; + buildInputs = [ zlib sparsehash ]; meta = with lib; { description = "Utility that allows end-users to leverage HFS+/APFS compression"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8f3e57b21703..13924a2a7e55 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -946,9 +946,7 @@ with pkgs; libdislocator = callPackage ../tools/security/aflplusplus/libdislocator.nix { }; - afsctool = callPackage ../tools/filesystems/afsctool { - inherit (darwin.apple_sdk.frameworks) CoreServices; - }; + afsctool = callPackage ../tools/filesystems/afsctool { }; aioblescan = with python3Packages; toPythonApplication aioblescan;