From 66c7c0b178eeb65bc68f3008d4640515780cb67d Mon Sep 17 00:00:00 2001
From: figsoda <figsoda@pm.me>
Date: Thu, 17 Nov 2022 11:02:30 -0500
Subject: [PATCH] onefetch: fix build on darwin

---
 pkgs/tools/misc/onefetch/default.nix | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pkgs/tools/misc/onefetch/default.nix b/pkgs/tools/misc/onefetch/default.nix
index d4cc9f08f1ac..8311290feb84 100644
--- a/pkgs/tools/misc/onefetch/default.nix
+++ b/pkgs/tools/misc/onefetch/default.nix
@@ -2,6 +2,7 @@
 , rustPlatform
 , fetchFromGitHub
 , cmake
+, installShellFiles
 , pkg-config
 , zstd
 , stdenv
@@ -9,7 +10,6 @@
 , libresolv
 , Security
 , git
-, installShellFiles
 }:
 
 rustPlatform.buildRustPackage rec {
@@ -41,6 +41,7 @@ rustPlatform.buildRustPackage rec {
 
   preCheck = ''
     git init
+    git config user.name nixbld
     git config user.email nixbld@example.com
     git add .
     git commit -m test