Skip to content

Commit

Permalink
xar: add xarMinimal
Browse files Browse the repository at this point in the history
xarMinimal allows e2fsprogs to build fuse2fs again on Darwin.
See #339412.
  • Loading branch information
reckenrode committed Oct 10, 2024
1 parent bf45402 commit aef4614
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/by-name/xa/xar/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
xar,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "xar";
pname = "xar${lib.optionalString (e2fsprogs == null) "-minimal"}";
version = "498";

src = fetchFromGitHub {
Expand Down
4 changes: 4 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13874,6 +13874,10 @@ with pkgs;
zig = buildPackages.zig_0_12;
};

# A minimal xar is needed to break an infinite recursion between macfuse-stubs and xar.
# It is also needed to reduce the amount of unnecessary stuff in the Darwin bootstrap.
xarMinimal = callPackage ../by-name/xa/xar/package.nix { e2fsprogs = null; };

xclip = callPackage ../tools/misc/xclip { };

xcur2png = callPackage ../tools/graphics/xcur2png { };
Expand Down

0 comments on commit aef4614

Please sign in to comment.