Skip to content

Commit

Permalink
darwin.xattr: replace with xattr from file_cmds
Browse files Browse the repository at this point in the history
file_cmds 352.40.6 added a C-based implementation of xattr, which is the
version of xattr used on recent releases of macOS. Align nixpkgs with
what macOS is shipping, which has also the benefit of allowing xattr to
be cross-compiled (previously precluded due to Python limitations).
  • Loading branch information
reckenrode committed Oct 9, 2024
1 parent d66ac05 commit 959c485
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 79 deletions.
78 changes: 0 additions & 78 deletions pkgs/os-specific/darwin/xattr/default.nix

This file was deleted.

2 changes: 1 addition & 1 deletion pkgs/top-level/darwin-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ impure-cmds // apple-source-packages // apple-source-headers // stubs // {

trash = callPackage ../os-specific/darwin/trash { };

xattr = pkgs.python3Packages.callPackage ../os-specific/darwin/xattr { };
inherit (self.file_cmds) xattr;

inherit (pkgs.callPackages ../os-specific/darwin/xcode { })
xcode_8_1 xcode_8_2
Expand Down

0 comments on commit 959c485

Please sign in to comment.