From abad01ee87ee32c5a8214810588c0864ec4f659f Mon Sep 17 00:00:00 2001 From: Yusuf Bera Ertan Date: Sat, 17 Apr 2021 15:08:00 +0300 Subject: [PATCH] build(nix): add git-lfs setup instructions for nix into git-lfs check abort message --- nix/utils.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nix/utils.nix b/nix/utils.nix index bea5c91bad..d6ce5b648f 100644 --- a/nix/utils.nix +++ b/nix/utils.nix @@ -16,6 +16,8 @@ - This repository was not cloned from the primary GitLab mirror. - The GitHub mirror does not support LFS. See the book at https://book.veloren.net/ for details. + Run `nix-shell -p git git-lfs --run "git lfs install --local && git lfs fetch && git lfs checkout"` + or `nix shell nixpkgs#git-lfs nixpkgs#git -c sh -c "git lfs install --local && git lfs fetch && git lfs checkout"`. ''; # Format number of seconds in the Unix epoch as %Y-%m-%d-%H:%M.