xar: add xarMinimal

xarMinimal allows e2fsprogs to build fuse2fs again on Darwin.
See https://github.com/NixOS/nixpkgs/pull/339412.
This commit is contained in:
Randy Eckenrode
2024-10-10 16:23:02 -04:00
parent bf45402971
commit aef4614421
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -30,7 +30,7 @@
xar,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "xar";
pname = "xar${lib.optionalString (e2fsprogs == null) "-minimal"}";
version = "498";
src = fetchFromGitHub {
+4
View File
@@ -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 { };