qt5: fetch submodules
This commit is contained in:
parent
231d0821c7
commit
0567815a11
2 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ srcs="${here}/srcs-generated.json"
|
|||
while read -r module; do
|
||||
if [[ -z "$module" ]]; then continue; fi
|
||||
url="https://invent.kde.org/qt/qt/${module}.git"
|
||||
nix-prefetch-git --url $url --rev refs/heads/kde/5.15 \
|
||||
nix-prefetch-git --url $url --rev refs/heads/kde/5.15 --fetch-submodules \
|
||||
| jq "{key: \"${module}\", value: {url,rev,sha256}}"
|
||||
done < "$modules" | jq -s 'from_entries' > "${srcs}.tmp"
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ let
|
|||
fetchgit {
|
||||
inherit (args) url rev sha256;
|
||||
fetchLFS = false;
|
||||
fetchSubmodules = false;
|
||||
fetchSubmodules = true;
|
||||
deepClone = false;
|
||||
leaveDotGit = false;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue