From bc3a59db93dbe26c1f07cdc282641264e6d91b0a Mon Sep 17 00:00:00 2001 From: Bruno Paulin Date: Sat, 29 Oct 2022 20:25:49 +0200 Subject: [PATCH] git get --- modules/common/shell/git.nix | 2 ++ pkgs/nixpkgs/git-get/default.nix | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/common/shell/git.nix b/modules/common/shell/git.nix index 4877225..77a9cf2 100644 --- a/modules/common/shell/git.nix +++ b/modules/common/shell/git.nix @@ -10,6 +10,8 @@ git-get # clean merged branch git-trim + # last day commits + git-standup ]; programs = { diff --git a/pkgs/nixpkgs/git-get/default.nix b/pkgs/nixpkgs/git-get/default.nix index 144af1b..0a03acb 100644 --- a/pkgs/nixpkgs/git-get/default.nix +++ b/pkgs/nixpkgs/git-get/default.nix @@ -15,7 +15,7 @@ buildGoModule rec{ doCheck = true; checkInputs = [ pkgs.git ]; preCheck = '' - export HOME=$(pwd) + export HOME=`mktemp -d` git config --global user.email "user@example.com" git config --global user.user "user" # this test tries to access /root