aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/populate/default.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/populate/default.nix b/pkgs/populate/default.nix
index d5ff9a1..b8b8107 100644
--- a/pkgs/populate/default.nix
+++ b/pkgs/populate/default.nix
@@ -40,8 +40,7 @@ let
if ! git log -1 "$hash" >/dev/null 2>&1; then
git fetch origin
fi
- git checkout "$hash" -- ${quote target.path}
- git -c advice.detachedHead=false checkout -f "$hash"
+ git reset --hard "$hash" >&2
git submodule update --init --recursive
fi