Skip to content

Commit ed55264

Browse files
authored
Update scripts: Use shallow clones for faster bootstrapping (#1733)
1 parent 769e140 commit ed55264

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/update-hackage.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import ./update-external.nix
1313
git pull --ff-only
1414
cd ..
1515
else
16-
git clone [email protected]:input-output-hk/hackage.nix.git
16+
git clone [email protected]:input-output-hk/hackage.nix.git --depth 1
1717
fi
1818
1919
set -x

scripts/update-stackage.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import ./update-external.nix args {
1414
git submodule update --init
1515
git submodule foreach git pull origin master
1616
else
17-
git clone [email protected]:input-output-hk/stackage.nix.git
17+
git clone [email protected]:input-output-hk/stackage.nix.git --depth 1
1818
cd stackage.nix
1919
git submodule update --init
2020
git submodule foreach git pull origin master

0 commit comments

Comments
 (0)