summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2018-08-14 19:34:22 +0200
committertv <tv@krebsco.de>2018-08-14 19:34:22 +0200
commit806b500e1e48fa096c2e26b44407e9f368f8d204 (patch)
tree26eef18fc113bc899522d708c6024236dd30b1db
parentea08f87819291a21ee6e031fe7748bdb04518bab (diff)
populate git: support submodules
-rw-r--r--pkgs/populate/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/populate/default.nix b/pkgs/populate/default.nix
index 54e2eea..91dbe63 100644
--- a/pkgs/populate/default.nix
+++ b/pkgs/populate/default.nix
@@ -42,6 +42,7 @@ let
fi
git checkout "$hash" -- ${quote target.path}
git -c advice.detachedHead=false checkout -f "$hash"
+ git submodule update --init --recursive
fi
git clean -dfx