zunit: workaround GitHub repo archive directory missing with forceFetchGit instead of deepClone (#466576)

This commit is contained in:
Yueh-Shun Li
2025-12-07 13:38:01 +00:00
committed by GitHub
+5 -2
View File
@@ -17,8 +17,11 @@ stdenvNoCC.mkDerivation (finalAttrs: {
owner = "zunit-zsh";
repo = "zunit";
rev = "v${finalAttrs.version}";
hash = "sha256-GkBewb795piCaniZJZpGEZFhKaNs8p8swV5z34OegPY=";
deepClone = true; # Needed in order to get "tests" folder
hash = "sha256-kXgJjD7N9pUIk57g/EEXZ8ADypuVO+Vyj8ssgwOzVCg=";
# The "tests" folder is missing in GitHub-provided download archives.
# work around with `git clone`.
# https://github.com/orgs/community/discussions/180774
forceFetchGit = true;
};
strictDeps = true;