Skip to content

Commit 307b2b1

Browse files
authored
Merge pull request #17857 from MinaProtocol/lyh/shallow-init-submodule
nix/pin.sh: init submodule with depth 1
2 parents 14140ea + a590e1e commit 307b2b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nix/pin.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
# Find the root of the Mina repo
55
ROOT=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )"/.. &> /dev/null && pwd )
66
# Update the submodules
7-
pushd "$ROOT" && git submodule sync && git submodule update --init --recursive && popd
7+
pushd "$ROOT" && git submodule sync && git submodule update --init --recursive --depth 1 && popd
88
# Add the flake registry entry
99
nix registry add mina "git+file://$ROOT?submodules=1"

0 commit comments

Comments
 (0)