zunit: workaround GitHub repo archive directory missing with forceFetchGit instead of deepClone (#466576)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user