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
|
while read -r module; do
|
||||||
if [[ -z "$module" ]]; then continue; fi
|
if [[ -z "$module" ]]; then continue; fi
|
||||||
url="https://invent.kde.org/qt/qt/${module}.git"
|
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}}"
|
| jq "{key: \"${module}\", value: {url,rev,sha256}}"
|
||||||
done < "$modules" | jq -s 'from_entries' > "${srcs}.tmp"
|
done < "$modules" | jq -s 'from_entries' > "${srcs}.tmp"
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ let
|
||||||
fetchgit {
|
fetchgit {
|
||||||
inherit (args) url rev sha256;
|
inherit (args) url rev sha256;
|
||||||
fetchLFS = false;
|
fetchLFS = false;
|
||||||
fetchSubmodules = false;
|
fetchSubmodules = true;
|
||||||
deepClone = false;
|
deepClone = false;
|
||||||
leaveDotGit = false;
|
leaveDotGit = false;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue