diff --git a/packages/pre-commit-hook.nix b/packages/pre-commit-hook.nix index 7250e39..de05ced 100644 --- a/packages/pre-commit-hook.nix +++ b/packages/pre-commit-hook.nix @@ -1,11 +1,12 @@ { writeShellApplication +, coreutils , nix , git , gnutar }: writeShellApplication { name = "pre-commit"; - runtimeInputs = [ nix git gnutar ]; + runtimeInputs = [ coreutils nix git gnutar ]; text = '' TREE=$(mktemp -d) git archive "$(git write-tree)" | tar -xC "$TREE"