afsctool: fetch submodules to enable LZFSE

afsctool pulls in Apple's open-source LZFSE and LZVN code via a submodule. Without it, only zlib is supported.
This commit is contained in:
Erik Jensen
2026-05-31 00:12:18 -07:00
committed by GitHub
parent e55f81b12d
commit c3deca82eb
+6 -1
View File
@@ -17,7 +17,12 @@ stdenv.mkDerivation rec {
owner = "RJVB";
repo = "afsctool";
tag = "v${version}";
hash = "sha256-cZ0P9cygj+5GgkDRpQk7P9z8zh087fpVfrYXMRRVUAI=";
fetchSubmodules = true;
gitConfigFile = builtins.toFile "gitconfig" ''
[url "https://github.com/"]
insteadOf = "git://github.com/"
'';
hash = "sha256-irWPQnnV5mHZS7pw9PAWp6MO/3MahKaOIZCr6awcwEg=";
};
cmakeFlags = [